Question: ways of determining wheather the circular array is full or empty include which of the following: a ) use a counter or boolean data attribute

ways of determining wheather the circular array is full or empty include which of the following: a) use a counter or boolean data attribute or sacrifice one array location to indicate the index before the front element, b) use a counter or boolean data attribute or sacrifice one array location to indicate the index of the element after the back element, c) use a boolean flag or maintain a counter or have a floating pointer to indicate the front of the queue, d) use a flag to indicate wheather it is full or empty or use two empty elements reserved to indicate the front and back indexes

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!