Question: I have implemented the queue with a circular array, keeping track of first, last, and count ( the number of items in the array )
I have implemented the queue with a circular array, keeping track of first, last, and count the number of items in the array Suppose first is zero, and last is CAPACITY What can you tell me about count. Question Answer a count must be zero. b count must be CAPACITY. c count could be zero or CAPACITY, but no other values could occur. d None of the above. choose the valid answer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
