Skip to content
Related Articles

Related Articles

Data Structures | Tree Traversals | Question 8

View Discussion
Improve Article
Save Article
  • Last Updated : 28 Jun, 2021
View Discussion
Improve Article
Save Article

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!