Question: 7. Suppose that queue is a queueType object and the size of the array implement queue is 100. What are the values of queueFront and
7. Suppose that queue is a queueType object and the size of the array implement queue is 100. What are the values of queueFront and queueRear after adding an element to queue if:
queueFront = 50 and queueRear = 99
queueFront = 99 and queueRear = 25
queueFront = 25 and queueRear = 75
8. Suppose that queue is a queueType object and the size of the array implement queue is 100. What are the values of queueFront and queueRear after removing an element from queue if:
queueFront = 50 and queueRear = 99
queueFront = 99 and queueRear = 25
queueFront = 25 and queueRear = 75
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
