Question DSA-QUE-0066
HardIn a circular buffer of size N that uses a count variable, what is the condition for 'full'?
- A.
front == rear
- B.
front == 0
- C.
count == N
- D.
rear == N − 1
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 a circular buffer of size N that uses a count variable, what is the condition for 'full'?
front == rear
front == 0
count == N
rear == N − 1
Sign up free to see the answer and a step-by-step explanation.