Question: What is the worst-case time complexity for inserting an element in a binary search tree?
Options:
Correct Answer: O(n)
Solution:
The worst-case time complexity for inserting an element in a binary search tree is O(n), which occurs when the tree is unbalanced.