Question 56

Which of the following traversal techniques lists the nodes of a binary search tree in ascending order?

  1. APostorder
  2. BPreorder
  3. CInorder
  4. DNone of the above
Show answerHide answer

Correct answer: (C) Inorder

Explanation

In a BST, an inorder traversal (left, root, right) visits the keys in ascending order.

From DSSSB TGT Computer Science Practice Set 5

This is question 56 of DSSSB TGT Computer Science Practice Set 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.