← Skills

Recursion & trees

building a tree from traversals

Take the root from preorder, find it in inorder, and build the left and right subtrees from the two halves.

Builds on: tree DFS, slicing

—
Unseen

No reps yet

No reps yet.

Attempts
0
Correct
0
Failed
0
Clean streak
0
Cold
0/0
Hints
0

Next review: after your first rep

Recent attempts

No reps yet.