Assume you are working with the class queueType (an array-based circular queue) as described in the textbook. Draw the queue and give the values for queue front, queue rear, and count after the following commands are done running. Assume that the maximum size of the queue is 4. addQueue(20); addQueue(120); addQueue(240); addQueue(4); deleteQueue(); addQueue(56); addQueue(44); addQueue(77); deleteQueue(); deleteQueue(); addQueue(80);
Expert Answer