Python Engineer Interview Questions

5,831 python engineer interview questions shared by candidates

Most languages have a built in sort method that will sort an array of strings alphabetically. Demonstrate how to sort an array of strings by the length of each string, shortest strings first. Hint: clean, small code wins.
avatar

Python Developer

Interviewed at Ignite Solutions

4.2
Nov 21, 2019

Most languages have a built in sort method that will sort an array of strings alphabetically. Demonstrate how to sort an array of strings by the length of each string, shortest strings first. Hint: clean, small code wins.

Write a function that takes an array of integers and returns that array rotated by N positions using Python or Ruby or JavaScript. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]
avatar

Python Developer

Interviewed at Ignite Solutions

4.2
Nov 21, 2019

Write a function that takes an array of integers and returns that array rotated by N positions using Python or Ruby or JavaScript. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

Viewing 301 - 310 interview questions

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