Python Interview Questions | Glassdoor

Python Interview Questions


interview questions shared by candidates

Python Interview Questions

Sort: RelevancePopular Date

Write a function that takes in two sorted lists and outputs a sorted list that is their union.

9 Answers

f(a,b) { return sort(unique(a,b)) }

def sortedUnion(list1,list2): list3 = [x for x in list1 if x in list2] return sorted(list(set(list3)))

google merge sort

Transform an integer to a string using only arithmetic operations. Known in C as 'itoa'.

1 Answer

Which programming language are you best skilled in? How do you feel about software engineering?

1 Answer

Write a memory efficient string reverse function

2 Answers

Where are you from?

1 Answer

1. Detail working experience 2. Coding test for creating a BANK class with Python, including bank accounts, personal/bank money, deposit/withdraw methods ...

Are strings mutable in python?

1 Answer

What is your favorite programming language? How do you use it?

18 of 8 Interview Questions