Practice questions from cracking the coding interview book