Question: What is the time complexity of merging two binary trees?
Options:
Correct Answer: O(n)
Solution:
Merging two binary trees involves visiting each node, resulting in a time complexity of O(n), where n is the total number of nodes in both trees.