If Front = 0, Rear = 2, CurrentSize = 2, And MaxQueueSize = 5, Then Enqueue(99) Adds 99 To Index [ Select ] Options--> (0,1,2,3) . After The Enqueue, Front = [ Select ] (0,1) , Rear = [ Select ](2,3) , And CurrentSize = ____(1,2,3) If Front = 0, Rear = 4, CurrentSize = 4, And MaxQueueSize = 5, Then Enqueue(99) Adds 99 To Index [ Select ] (0,1,4,5) .
If front = 0, rear = 2, currentSize = 2, and maxQueueSize = 5, then enqueue(99) adds 99 to index
[ Select ] options--> (0,1,2,3)
. After the enqueue, front =
[ Select ] (0,1)
, rear =
[ Select ](2,3)
, and currentSize = ____(1,2,3)
If front = 0, rear = 4, currentSize = 4, and maxQueueSize = 5, then enqueue(99) adds 99 to index
[ Select ] (0,1,4,5)
. After the enqueue, front =
[ Select ] (0,1)
, rear =
[ Select ] (0,4,5)
, and currentSize =
[ Select ](3,4,5)
If front = 0, rear = 4, currentSize = 4, and maxQueueSize = 5, then dequeue() removes a number from index
[ Select ] (0,4)
. After the dequeue, front =
[ Select ] (0,1,4,5)
, rear =
[ Select ] (0,4,5)
, and currentSize =
[ Select ](3,4,5)
If front = 4, rear = 2, currentSize = 3, and maxQueueSize = 5, then dequeue() removes a number from index
[ Select ] (0,2,3,4,5)
. After the dequeue, front =
[ Select ](0,4,5)
, rear =
[ Select ](2,3)
, and currentSize =
[ Select ](2,3,4)
.
.