Python Software Engineer Interview Questions

5,379 python software engineer interview questions shared by candidates

Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You must write an algorithm with O(log n) runtime complexity. Example 1: Input: nums = [1,3,5,6], target = 5 Output: 2

Python Developer

Interviewed at InterviewVector

3.7
Aug 23, 2022

Given a sorted array of distinct integers and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You must write an algorithm with O(log n) runtime complexity. Example 1: Input: nums = [1,3,5,6], target = 5 Output: 2

The first one was 4 questions on code signal, and you have to answer to proceed in person. The second one was an interview with an employee to dig into your past work and also questions about finding the top 5 performing stores in a chain of stores.
avatar

Lead Python Developer

Interviewed at Egen

4.3
Mar 13, 2023

The first one was 4 questions on code signal, and you have to answer to proceed in person. The second one was an interview with an employee to dig into your past work and also questions about finding the top 5 performing stores in a chain of stores.

- Tell me about your previous projects - Are these things applicable in our projects? - What problems do you see if we were to implement your solutions? - Do you have experience in automatic testing? - Code challenge: c1 = [1, -2, 3, 5, 6, 765, 23, 867, 23] c2 = ["sunday", "b", "asdf", "sunday", "sunday", "sunday", "af", "monday", "sunday"] #WHAT TYPE of "data structure" is this data above? #select avg(c1*c1) from tab where c2='sunday' # Implement the line above in python # WHAT COULD GO WRONG in your solution (SPOILER: DivBy0)? # What would a db return in case there's an (divby0) error?
avatar

Python Developer

Interviewed at SAP

4.2
Apr 30, 2024

- Tell me about your previous projects - Are these things applicable in our projects? - What problems do you see if we were to implement your solutions? - Do you have experience in automatic testing? - Code challenge: c1 = [1, -2, 3, 5, 6, 765, 23, 867, 23] c2 = ["sunday", "b", "asdf", "sunday", "sunday", "sunday", "af", "monday", "sunday"] #WHAT TYPE of "data structure" is this data above? #select avg(c1*c1) from tab where c2='sunday' # Implement the line above in python # WHAT COULD GO WRONG in your solution (SPOILER: DivBy0)? # What would a db return in case there's an (divby0) error?

Viewing 5201 - 5210 interview questions

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