Which of the following traversal outputs the data in sorted order in a BST?
2025
Which of the following traversal outputs the data in sorted order in a BST?
- A.
Preorder
- B.
Inorder
- C.
Postorder
- D.
Level order
Attempted by 337 students.
Show answer & explanation
Correct answer: B
Explanation:
Inorder traversal of a BST outputs data in sorted order.