Python Interview Questions

6,380 python 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

First 3 rounds were pure Techincal rounds which had Questions that were mostly based on all the concepts in python like exception handling, covered most of the OOPS concepts in python, Arrays, Dictionaries, nested dictionaries, Lists and tuple methods, Inheritance, Split and join functionality, Regex,Strings, File handling, File parsing, etc. They also told to write and execute the code in their laptop. Some questions were on testing(QA). 4th round was MR round, questions were based on SDLC and whatever is present in your CV, your previous projects and experience. The Final round was HR round where all formal HR questions were asked.
avatar

Python Automation Engineer

Interviewed at Qualcomm

3.8
Aug 20, 2019

First 3 rounds were pure Techincal rounds which had Questions that were mostly based on all the concepts in python like exception handling, covered most of the OOPS concepts in python, Arrays, Dictionaries, nested dictionaries, Lists and tuple methods, Inheritance, Split and join functionality, Regex,Strings, File handling, File parsing, etc. They also told to write and execute the code in their laptop. Some questions were on testing(QA). 4th round was MR round, questions were based on SDLC and whatever is present in your CV, your previous projects and experience. The Final round was HR round where all formal HR questions were asked.

Viewing 6161 - 6170 interview questions

Glassdoor has 6,380 interview questions and reports from Python interviews. Prepare for your interview. Get hired. Love your job.