Programmatic solutions for the book Cracking the Coding Interview in C/C++