Week 4 · Day 22 of 42

Tree: DFS

Preorder: process node, then left, then right. Good for serialization.

Checking access

Spotted a mistake on this page?

Wrong formula, broken animation or confusing wording. Tell us and we will fix it.