Working through the questions of "Cracking the Coding Interview" by GAYLE LAAKMANN