Data Structures | Tree Traversals | Question 8
Which of the following tree traversal uses a queue data structure?
(A) Preorder
(B) Inorder
(C) Postorder
(D) Level order
Answer: (D)
Explanation: Level order traversal uses a queue data structure to visit the nodes level by level.
Quiz of this Question
Recommended Posts:
- Data Structures | Tree Traversals | Question 6
- Data Structures | Tree Traversals | Question 1
- Data Structures | Tree Traversals | Question 10
- Data Structures | Tree Traversals | Question 3
- Data Structures | Tree Traversals | Question 4
- Data Structures | Tree Traversals | Question 5
- Data Structures | Tree Traversals | Question 11
- Data Structures | Tree Traversals | Question 9
- Data Structures | Tree Traversals | Question 7
- Data Structures | Tree Traversals | Question 2
- Data Structures | Tree Traversals | Question 12
- Introduction to Data Structures | 10 most commonly used Data Structures
- Data Structures | Heap | Question 9
- Data Structures | Stack | Question 4
- Data Structures | Stack | Question 5

