Question: Assume the queue q is circular queue of max size 1 0 0 , the front is at index 2 5 and the rear at

Assume the queue q is circular queue of max size 100, the front is at index 25 and the rear at index 24, if we push an item to the queue then
a. The item may be not added, since the queue is full
b. The item sould be added since the queue is empty
c. The item is not added since the queue is full
d. The item may be added and the rear becomes 25
 Assume the queue q is circular queue of max size 100,

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!