🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Binary Trees & BST Quiz: all 8 questions

Binary Trees & BST Quiz · Question 1 of 8

For this tree, what is the INORDER traversal? (type the values separated by spaces) (code)

For this tree, what is the INORDER traversal? (type the values separated by spaces)

        1
       / \
      2   3
     / \
    4   5
Answer & explanation

Correct answer: 4 2 5 1 3

Inorder = left, node, right.

Can you get the rest right without peeking?

Take the timed Binary Trees & BST Quiz quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →