Open In App
Related Articles

Data Structures | Binary Search Trees | Question 5

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Last Updated : 11 Feb, 2013
Like Article
Save Article
Similar Reads
Related Tutorials