Skip to content
RED SAGSkills
medium10 pts · first answer countsstacks-and-queues

Capacity of a circular queue

A circular queue uses an array of 5 slots with front and rear indices, and treats (rear + 1) % 5 == front as "full", with no separate count. How many items can it hold?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions