What is the time complexity (represented in terms of Big Oh) for performing a dequeue operation when a queue is implemented using an array?

What is the time complexity (represented in terms of Big Oh) for performing a dequeue operation when a queue is implemented using an array? Furthermore, to track the head and tail of the queue, there are two pointers i.e. front and rear.

× How can I help you?