18)
Suppose that queue is implemented as an array with the special resrved slot, as described in this chapter. Suppose that the size of the array implementing queue is 100. Also, suppose that the value of queueFront is 74 and the value of queueRear is 99
a)
what are the values of queueFront and queueRear after adding an elemen to queue ?
b)
what are the values of queueFront and queueRear after removing an elemen to queue ? Also, what is the position of the removed queue element ?