Ruby solutions to all the questions in cracking the coding interview book