English version is in beta. All contents of the site should be already translated (mostly using machine translation), and everything should work properly. However, if you find any problems, please contact me.
Recursion
Keep in mind that many of the tasks below are actually easier and more correct to solve not by recursion, but by a loop
(in particular, never write factorial or Fibonacci numbers by recursion!).
But it is necessary to understand what recursion is, and it is very useful to practice on the tasks below.
algoprog.ru © Petr Kalinin, GNU AGPL, github.com/petr-kalinin/algoprog | About the license for the site materials | Blog (in Russian)