A normal queue, if implemented using an array of size MAX_SIZE, gets full when

Q & AA normal queue, if implemented using an array of size MAX_SIZE, gets full when
Admin Staff asked 4 years ago

A normal queue, if implemented using an array of size MAX_SIZE, gets full when
a) Rear = MAX_SIZE – 1
b) Front = (rear + 1)mod MAX_SIZE
c) Front = rear + 1
d) Rear = front

1 Answers
Admin Staff answered 4 years ago

a) Rear = MAX_SIZE – 1