Question: What is the time complexity of searching for an element in a queue implemented using an array?
Options:
Correct Answer: O(n)
Solution:
Searching for an element in a queue implemented using an array requires checking each element, resulting in a time complexity of O(n).