Question: Which operation is guaranteed to be O(log n) in both AVL and Red-Black trees?
Options:
Correct Answer: All of the above
Solution:
All of the operations (insertion, deletion, and searching) are guaranteed to be O(log n) in both AVL and Red-Black trees.