Practice questions from "Cracking Coding Interview" Solved