The Wayback Machine - https://web.archive.org/web/20211203041653/https://www.geeksforgeeks.org/data-structures-binary-search-trees-question-5/
Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!