Codele / Algorithms

Recursion

A Russian doll hides a smaller doll, which hides a smaller one. A function can do the same: solve a big problem by asking itself to solve a smaller one.

Loading the playable lesson…