Which traversal of a binary tree results in sorted order for a Binary Search Tree?

17 views
  • Preorder
  • Postorder
  • Inorder (Correct Answer)
  • Level order

Explanation

Inorder traversal visits nodes in left-root-right order. For a BST, this guarantees visiting nodes in ascending sorted order due to the BST property where left subtree values are smaller and right subtree values are larger.

Comments (0)

No comments yet. Be the first to comment!

Want to practice more?

Explore thousands of MCQs across every exam category on Exams Nepal.

Find More MCQs