Discussion :: Data Structure MCQs
- What is the need for a circular queue?
A.
effective usage of memory
|
B.
easier computations
|
C.
all of the mentioned
|
D.
none of the mentioned
|
Answer : Option A
Explanation :
In a linear queue, dequeue operation causes the starting elements of the array to be empty, and there is no way you can use that space, while in a circular queue, you can effectively use that space.
Be The First To Comment