Python Engineer Interview Questions

5,823 python engineer interview questions shared by candidates

Technical/Conceptual Questions 9. How does the internet work? (Describe what happens when you type a URL and press Enter.) 10. Is the DNS lookup process the same for well-known and niche websites? 11. What is Docker? How does it differ from a virtual machine? 12. What’s the difference between a Python list and a tuple? 13. If you have a mutable object inside a tuple, can it be changed? 14. What is a decorator in Python? 15. What’s the difference between a process and a thread? 16. What is the GIL (Global Interpreter Lock) and why is it important in Python threading? 17. What’s the difference between async IO and threads in Python? 18. What’s the difference between “is” and “==” in Python? 19. Does a Python list have a fixed capacity? How are lists implemented in other languages? 20. When you append to a list in Python, what is the time complexity? Coding Challenge 21. Implement a stemming algorithm that removes certain suffixes from words (live coding in HackerRank). 22. How would you optimize your code if more suffixes needed to be added? 23. What’s the time complexity and space complexity of your stemming solution? 24. Can appending to a list ever be O(n) instead of O(1)? Under what circumstances?
avatar

Python Developer Intern

Interviewed at Squarepoint Capital

3.9
Oct 20, 2025

Technical/Conceptual Questions 9. How does the internet work? (Describe what happens when you type a URL and press Enter.) 10. Is the DNS lookup process the same for well-known and niche websites? 11. What is Docker? How does it differ from a virtual machine? 12. What’s the difference between a Python list and a tuple? 13. If you have a mutable object inside a tuple, can it be changed? 14. What is a decorator in Python? 15. What’s the difference between a process and a thread? 16. What is the GIL (Global Interpreter Lock) and why is it important in Python threading? 17. What’s the difference between async IO and threads in Python? 18. What’s the difference between “is” and “==” in Python? 19. Does a Python list have a fixed capacity? How are lists implemented in other languages? 20. When you append to a list in Python, what is the time complexity? Coding Challenge 21. Implement a stemming algorithm that removes certain suffixes from words (live coding in HackerRank). 22. How would you optimize your code if more suffixes needed to be added? 23. What’s the time complexity and space complexity of your stemming solution? 24. Can appending to a list ever be O(n) instead of O(1)? Under what circumstances?

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 5621 - 5630 interview questions

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