🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.10 5 20
  2. B.5 10 20
  3. C.5 20 10
  4. 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 →