Caffeinated Coder
Book an appointment
Lesson 15 · Data structures

Trees

Lists and queues keep values in a row. A tree branches instead: each node links down to children, from one root at the top to the leaves at the bottom. Meet the parts of a tree, see the trees you already use, then watch a binary search tree find 60, insert 35 and list every value in sorted order.

10 min10 steps5 questionsBeginner
Fig 15 · Interactive
Loading figure…
or ← →

Quiz Unlocks after the last step.