Open In App

Data Structures | Tree Traversals | Question 8

Like Article
Like
Save
Share
Report

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


Last Updated : 28 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads