MCQs > IT & Programming > Data Structures And Algorithms > You have implemented a queue with a circular array keeping track of the first item, the last item, and the count (the number of items in the array). Suppose the address of the first is zero, and that of the last is CAPACITY-1, what can you say about the count?

Data Structures And Algorithms MCQs

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

Answer

Correct Answer: The count must be CAPACITY

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Data Structures And Algorithms Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Data Structures And Algorithms Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it