Question
What is the time complexity of level order traversal?
Answer: Option B
Was this answer helpful ?
Since you have to go through all the nodes, the complexity becomes O(n).
Was this answer helpful ?
Submit Solution