My own solutions to questions from cracking the coding interview written in either C++ or Java