Question DSA-QUE-0046
MediumIn a circular queue of capacity n using the 'one empty slot' rule, when is it full?
- A.
When (rear + 1) mod n == front
- B.
When front == 0
- C.
When rear == n − 1
- D.
When rear == front
Sign up free to see the answer and a step-by-step explanation.