I have been reading the book Cracking the Coding Interview (5th edition), and wrote the answers in Python.
Python answers for the book Cracking the Coding Interview