Solution for cracking the code interview