Question: In a queue implemented with a circular array of size N , where head and tail are associated with the indices of the next element
In a queue implemented with a circular array of size where head and tail are associated with the indices of the next element to dequeue and the most recently enqueued element,
respectively, which of the following expressions evaluates to True if and only if the queue is full?
head tail
tail head
head N head
tail head
Your answer is correct
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
