Question: What is the time complexity of the inorder traversal of a binary tree?
Options:
Correct Answer: O(n)
Solution:
Inorder traversal visits each node exactly once, resulting in a time complexity of O(n), where n is the number of nodes in the tree.