Question: What is the time complexity of level-order traversal of a binary tree?
Options:
Correct Answer: O(n)
Solution:
Level-order traversal visits each node once, resulting in a time complexity of O(n).