Lesson 10 of 20 · about 16 min
Trees as data
A tree is a value with branches, and each branch is a smaller tree. Because trees are built from trees, recursion is the natural way to work with them.
🔓 Unlock this lesson
This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.
In this lesson you'll learn:
- Tree
- Recursion on trees
Free to try in F03 Programming 2: Abstraction & Recursion:
The first 3 lessons of every course are free, no account needed.