- A Queue Consists Of The Numbers 15 99 22 71 5 The Maximum Capacity Of The Queue Is 5 Currently Front 4 Rear 1 (18.5 KiB) Viewed 25 times
A queue consists of the numbers [15, 99, 22, 71, 5]. The maximum capacity of the queue is 5. Currently, front = 4, rear
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
A queue consists of the numbers [15, 99, 22, 71, 5]. The maximum capacity of the queue is 5. Currently, front = 4, rear
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...