A queue consists of the numbers [15, 99, 22, 71, 5]. The maximum capacity of the queue is 5. Currently, front = 4, rear
Posted: Mon Jun 06, 2022 2:32 pm
A queue consists of the numbers [15, 99, 22, 71, 5]. The maximum capacity of the queue is 5. Currently, front = 4, rear = 4, and currentSize = 5. Then, dequeue() returns the number at index type your answer... After the dequeue, front = type your answer... , rear = type your answer... and currentSize= type your answer...