Python Engineer Interview Questions

5,829 python engineer 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.

list vs tuple, multithreading in python, web socket vs tcp socket, implement calc of math expresion, return unique in list, count repetition in list. meta class, descriptor, named tuple; get2sum with o(n) and o(n) space; get2sum with o(nlogn) without extra memory; implement queue with two stacks; parse protobuf to dict; class method vs static vs instanse; struct vs class in c++; implement template of array; iterator; gnerator; implement binary tree; print it in order; object managment in python;
avatar

Senior Python Developer/Software Engineer

Interviewed at Millennium

3.7
Dec 21, 2020

list vs tuple, multithreading in python, web socket vs tcp socket, implement calc of math expresion, return unique in list, count repetition in list. meta class, descriptor, named tuple; get2sum with o(n) and o(n) space; get2sum with o(nlogn) without extra memory; implement queue with two stacks; parse protobuf to dict; class method vs static vs instanse; struct vs class in c++; implement template of array; iterator; gnerator; implement binary tree; print it in order; object managment in python;

Viewing 5671 - 5680 interview questions

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