Open In App

Data Structures | Binary Search Trees | Question 5

Which of the following traversal outputs the data in sorted order in a BST?

(A)



Preorder

(B)



Inorder

(C)

Postorder

(D)

Level order

Answer: (B)
Explanation:

Inorder traversal of a BST outputs data in sorted order. 

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :