Which of the following traversal outputs the data in sorted order in a BST?

PYQ TCS NQT 2025

Which of the following traversal outputs the data in sorted order in a BST?

  1. A.

    Preorder

  2. B.

    Inorder

  3. C.

    Postorder

  4. D.

    Level order

Attempted by 711 students.

Sign up free to check your answer

Sign up free

Explore the full course: Cdac C Cat Complete Preparation

Loading lesson…