Skip to content
Related Articles
Open in App
Not now

Related Articles

Data Structures | Binary Search Trees | Question 5

Improve Article
Save Article
Like Article
  • Last Updated : 11 Feb, 2013
Improve Article
Save Article
Like Article

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

My Personal Notes arrow_drop_up
Like Article
Save Article
Related Articles

Start Your Coding Journey Now!