Tree traversals

50, 30, 70 → preorder 50, 30, 70; postorder 30, 70, 50

You can also choose a level by clicking a star.

About the course

Description
The order of nodes in preorder, inorder, postorder and breadth-first traversal
More information
A graph consists of vertices and the edges between them. A tree is a connected graph without cycles.
Sample question
50, 30, 70 → preorder 50, 30, 70; postorder 30, 70, 50
Author
Jiří Preisler
Version
1.0