Question DSA-QUE-0051
MediumA printer queue receives jobs A, B, C. B is cancelled. Which data structure makes cancelling from the middle easy?
- A.
A heap
- B.
An array queue with no shifting
- C.
A doubly linked list based queue
- D.
A stack
Sign up free to see the answer and a step-by-step explanation.