All Exams Test series for 1 year @ ₹349 only
Question

Arrange the following steps of the Inorder Traversal of Binary Tree in the correct order.

A. Visit the Left subtree

B. Visit the Root node

C. Visit the Right subtree

D. Start traversing by visiting the nodes in rooted tree

E. Repeat the above three steps.

Choose the correct answer from the options given below:

This question was previously asked in
UGC NET 2024 Computer Science and Applications Question Paper (23-Aug-2024) (Shift 1)
The correct answer is

D, A, B, C, E

Inorder traversal of a binary tree visits the nodes in the order Left subtree, Root, Right subtree (LNR). The procedure is recursive: the same three steps are applied to every subtree. For a binary search tree this produces the keys in ascending order.

Step 1 — D: begin the traversal at the root of the rooted tree.

Step 2 — A: first traverse (visit) the left subtree completely.

Step 3 — B: then visit the root node itself.

Step 4 — C: then traverse the right subtree.

Step 5 — E: repeat these three steps recursively for every subtree until all nodes are visited.

Starting with A omits the initial step D; starting with E repeats steps before they have been done; and D, A, E, B, C inserts the repetition between the left subtree and the root, which breaks the left-root-right order.

D, A, B, C, E option is correct.

Was this answer helpful?

Similar Questions

  1. The inorder traversal of the following tree is :

  2. The inorder and preorder Traversal of binary Tree are dbeafcg and abdecfg respectively. The post-order Traversal is __________.

  3. Level order Traversal of a rooted Tree can be done by starting from root and performing :

  4. Binary tree with root A and nodes B to H

    Considering above binary tree, what will be the inorder traversal


Important Questions from Tree Traversal - Teaching

  1. The inorder traversal of the following tree is :

  2. The inorder and preorder Traversal of binary Tree are dbeafcg and abdecfg respectively. The post-order Traversal is __________.

  3. Level order Traversal of a rooted Tree can be done by starting from root and performing :

  4. Binary tree with root A and nodes B to H

    Considering above binary tree, what will be the inorder traversal

  5. Consider the traversal of a tree

    Preorder → ABCEIFJDGHKL

    Inorder → EICFJBGDKHLA

    Which of the following is correct post order traversal?

Need Expert Advice?
Upcoming Exams
CTET
December 12, 2026
WB SET
December 13, 2026
CBSE UGC NET
December 14, 2026
CSIR UGC NET
December 19, 2026
Test Series
UGC NET img
Teaching
UGC NET (Paper 2) December 2026 Mock Test Series
799 Tests 2 Tests Free
300 Attempts
4.4(45)
English, Hindi
More Questions from UGC NET

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App