Medium-EasyUnderstandTrees & BSTMultiple Choice

What is the time and space complexity of level-order traversal?

Understand Tests comprehension and ability to explain concepts.

Answer Options

AO(n) time, O(1) space
BO(n) time, O(n) space
CO(n log n) time, O(n) space
DO(n²) time, O(n) space

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 33+ more Trees & BST questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Trees & BST topic (Data Structures).

More Trees & BST Questions