Data Structure (2130702)

BE | Semester-3   Summer-2017 | 05/31/2017

Q2) (c)

Consider an example where the size of the queue is four elements. Initially the queue is empty. It is required to insert symbols ‘A’,’B’ and ‘C’. delete ‘A’ and ‘B’ and insert ‘D’ and ‘E’. Show the trace of the contents of the queue.

Q2_C_Queue