Question DSA-BST-115
EasyWhich tree traversal of a valid Binary Search Tree (BST) produces nodes in strictly ascending (sorted) order?
- A.
Pre-order Traversal
- B.
In-order Traversal
- C.
Show answer and explanation
Answer: B
In a BST, for every node , all keys in the left subtree are smaller than , and all keys in the right subtree are greater than . An visits: , which naturally yields keys in ascending order.