← Quiz: Tree Traversals: all 13 questions
Quiz: Tree Traversals · Question 1 of 13
For the tree with root 10, left child 5 and right child 20, what is the postorder?
For the tree with root 10, left child 5 and right child 20, what is the postorder?
- A.10 5 20
- B.5 10 20
- C.5 20 10
- D.20 5 10
Answer & explanation
Correct answer: 5 20 10
Postorder visits the left subtree, then the right, then the root.
Can you get the rest right without peeking?
Take the timed Quiz: Tree Traversals quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →