Question DSA-QUE-0055
MediumIn an array queue without wrap-around, why does space get wasted?
- A.
The array shrinks
- B.
Elements are stored twice
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Queues and Deques question
In an array queue without wrap-around, why does space get wasted?
The array shrinks
Elements are stored twice
Sign up free to see the answer and a step-by-step explanation.
It can't be wasted
The front moves forward on each dequeue, and the freed slots at the start are never reused