MAX - 1 should be value of rear (end) if queue is full - Data Structure
Q. What should be the value of rear (end) if the queue is full (elements are completely occupied )?- Published on 19 Oct 15a. 1
b. - 1
c. MAX + 1
d. MAX - 1
e. zero (null)
ANSWER: MAX - 1