Python Programmer Interview Questions

5,389 python programmer interview questions shared by candidates

Q: Given a list of coordinates (x,y), count the number of distinct rectangles that can be drawn by connecting any 4 points. Q: Given a circle, draw n straight lines within the circle. Each line is drawn by randomly selecting 2 points on the circle's circumference and connecting them. Find the expected number of intersections between all the inscribed lines.
avatar

Python Algorithm Developer Internship

Interviewed at Hudson River Trading

4.1
Feb 26, 2024

Q: Given a list of coordinates (x,y), count the number of distinct rectangles that can be drawn by connecting any 4 points. Q: Given a circle, draw n straight lines within the circle. Each line is drawn by randomly selecting 2 points on the circle's circumference and connecting them. Find the expected number of intersections between all the inscribed lines.

Viewing 5241 - 5250 interview questions

Glassdoor has 5,389 interview questions and reports from Python programmer interviews. Prepare for your interview. Get hired. Love your job.