Question: What is the time complexity of searching for an element in a binary search tree (BST) in the worst case?
Options:
Correct Answer: O(n)
Solution:
In the worst case, a binary search tree can become unbalanced, resembling a linked list, leading to a time complexity of O(n) for search operations.