Algorithms (13/14) - Recursion (recursive functions)

Опубликовано: 29 Январь 2021
на канале: Mohamed Chiny
149,033
1.8k

Recursion in an algorithm is a kind of iterative processing. A recursive function is a function that calls itself in an algorithm or computer program. Recursion is sometimes preferred to classical loops especially in sorting algorithms for example, because the execution of the program is faster, and the source code is often shorter so more readable. In this lesson we will implement the recursive function seen in the algorithm in a Python program.


Смотрите видео Algorithms (13/14) - Recursion (recursive functions) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mohamed Chiny 29 Январь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 149,033 раз и оно понравилось 1.8 тысяч людям.