Question: What is the worst-case time complexity of searching for an element in an unsorted array?
Options:
Correct Answer: O(n)
Solution:
In the worst case, you may need to check every element in the array, leading to a time complexity of O(n).