Open In App

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

Article Tags :