Question: In an array based FIFO queue Q, which of the following is correct about the queue after Q.Dequeue() is executed? 5 (front) 2 9 4
In an array based FIFO queue Q, which of the following is correct about the queue after Q.Dequeue() is executed? 5 (front) 2 9 4 3(rear) 0 4 a) front 2; rear 3; b) fronts 0; rear-7; c) front-0; rear-8; d) front 1; rear-8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
