Cracking the Coding Interview assignment