My solutions to exercises from Cracking the Coding Interview, 4th Edition