Skip to content
Related Articles

Related Articles

Data Structures | Binary Search Trees | Question 5

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

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. Read here for details.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!