C++ · Functions

A function that calls itself

Some problems contain a smaller copy of themselves, and a function that calls itself solves them in a few lines.