Java coding for questions and algorithms in cracking the coding interview book