Starting With Recursion in Python

Описание к видео Starting With Recursion in Python

If you’re familiar with functions in Python, then you know that it’s quite common for one function to call another. In Python, it’s also possible for a function to call itself! A function that calls itself is said to be recursive, and the technique of employing a recursive function is called recursion.

It may seem peculiar for a function to call itself, but many types of programming problems are best expressed recursively.

This is a portion of the complete course, which you can find here:
https://realpython.com/courses/python...

The rest of the course covers:
Tree traversal
File trees
Sorting algorithms
How quicksort implements recursion

Комментарии

Информация по комментариям в разработке