Question DSA-QUE-0028
EasyWhich data structure is used for the level-order traversal of a tree?
- A.
A queue
- B.
A hash set
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Queues and Deques question
Which data structure is used for the level-order traversal of a tree?
A queue
A hash set
Sign up free to see the answer and a step-by-step explanation.
A stack
A heap