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