Cracking The Code Interview Question solutions