Question: What is the time complexity of dequeuing an element from a queue implemented using an array?
Options:
Correct Answer: O(n)
Solution:
Dequeuing an element from a queue implemented using an array can take O(n) time if all elements need to be shifted after removing the front element.