My efforts at solving the interview problems from Cracking the Code Interview by Gayle Laakmann McDowell