Exercises from Cracking the Code Interview 5th E.