You have implemented a queue with a circular array keeping track of the first - the last - and the count (the number of items in the array). Suppose the first is zero - and the last is CAPACITY-1 - what can you say about the count?

🎲 Try a Random Question  |  Total Questions in Quiz: 99  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Data Structures Fundamentals Test — practice the complete quiz, review flashcards, or try a random question.


You have implemented a queue with a circular array keeping track of the first - the last - and the count (the number of items in the array). Suppose the first is zero - and the last is CAPACITY-1 - what can you say about the count?