Solutions for Cracking the Code Interview assignments.