Which of the following binary tree traversals arranges the node values in…

2019

Which of the following binary tree traversals arranges the node values in ascending order when it is applied over a binary search tree?

  1. A.

    Level-order traversal

  2. B.

    Inorder traversal

  3. C.

    Preorder traversal

  4. D.

    Postorder traversal

Attempted by 1220 students.

Show answer & explanation

Correct answer: B

In a Binary Search Tree (BST), inorder traversal visits nodes in ascending (sorted) order.

Explore the full course: Up Lt Grade Assistant Teacher 2025