Solutions for problems in GeeksQuiz and Cracking The Coding Interview