Suppose the following operations are performed on an empty q…
Suppose the following operations are performed on an empty queue: enqueue(5); enqueue(7); dequeue(); enqueue(9); enqueue(12); dequeue(); enqueue(10); Insert numbers in the following diagram to show what will be stored in the static queue after the operations have executed. Front Rear *Write your answer in the text box as they would appear in the diagram. For example: 5 4 – 2 Where 5 is at the front, the – is an empty space in the diagram and 2 is at the rear*
Read Details