Question: In a queue implemented using an array, what is the time complexity of enqueue operation in the worst case?
Options:
Correct Answer: O(n)
Solution:
In the worst case, if the array is full and needs to be resized, the enqueue operation can take O(n) time.