Skip to content
Related Articles

Related Articles

Data Structures | Binary Search Trees | Question 5
  • 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.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :