A collection of interesting programming problems and their solutions in C++