Solutions for problems on <Cracking the Coding Interview>