The in order traversal of tree will yield a sorted listing of elements of tree in
-
Binary trees
-
Binary search trees
-
Heaps
-
None of above
B
Correct answer
Explanation
In-order traversal of a binary search tree visits nodes in ascending order of their keys because of the BST property: left child < parent < right child. This is a fundamental property of BSTs. Option A is incorrect because regular binary trees have no ordering property. Option C is incorrect because heaps have different ordering properties.