19 lines468 B

Lesson 6: Trees and recursion

This lesson covers trees and recursion. You'll read a short explanation, try three small exercises and finish with a quiz.

Full lesson: https://glibcode.net/courses/algorithms/lessons/6

Files

  • trees.py: a binary tree, its depth and an in-order walk

Run it

python3 trees.py

Exercises

See exercises.md. Ask in the forum once you've tried.