Question: Suppose that the size of the arraytircular) implementing queue is 100 Also, suppose that the value of queuefront is so and the value of queuepearia
Suppose that the size of the arraytircular) implementing queue is 100 Also, suppose that the value of queuefront is so and the value of queuepearia g9: What are the values of queuefront and queuerear after adding an efement to queue?: What are the values of queuefront and queuetrear after removing an element from queue? Your answer: Afrer adding queuefrant * 50 quecuerear in 99 After iteleting. queuefroet 51 i queuereat =99 After adding queueffont - 50 , queueHear * 0 Alter iselinting queuefrant =51 queuedear = 59 After adding queunirant +51 quecuefear u 0 o Afur deleting nieuefront in 61 quepelioar a fiu) After adding queuefront iso queuereaf - 9 Afler deletinis queueftont if 50 queueletar a 90 Afler adding qutuer rorit +50 quiceifiear =0 cleor
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
