Python Engineer Interview Questions

6,401 python engineer interview questions shared by candidates

What is the formula for determining the number of permutations? Write a function to return the permutations of a given string, e.g. "abc", that are equal to the length of the given string. If this function is implemented using itertools, also implement one without using itertools. Note that use of recursion is acceptable.
avatar

Python Developer

Interviewed at HedgeServ

3.8
Dec 26, 2016

What is the formula for determining the number of permutations? Write a function to return the permutations of a given string, e.g. "abc", that are equal to the length of the given string. If this function is implemented using itertools, also implement one without using itertools. Note that use of recursion is acceptable.

Viewing 1721 - 1730 interview questions

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