Which of the following represents the correct order of visiting nodes during…

2025

Which of the following represents the correct order of visiting nodes during an inorder traversal of a binary tree?

Answer: C. Visit left subtree, then root, then right subtree

  1. A.

    Visit root, then right subtree, then left subtree

  2. B.

    Visit right subtree, then root, then left subtree

  3. C.

    Visit left subtree, then root, then right subtree

  4. D.

    Visit root, then left subtree, then right subtree

Attempted by 503 students.

Show answer & explanation

Correct answer: C

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…