A queue consists of the numbers [1, 19, 42]. The maximum capacity of the queue is 5. Currently, front = 0, rear = 3, and
Posted: Mon Jun 06, 2022 2:22 pm
A queue consists of the numbers [1, 19, 42]. The maximum capacity of the queue is 5. Currently, front = 0, rear = 3, and currentSize = 3. Then, enqueue(27) adds the number 27 to index type your answer... After the enqueue, front = type your answer... rear = type your answer... and currentSize= type your answer...