In a circular queue of size n, do we declare the queue full if we have n-1 items in it? Why do we do so if we can declare it full when it is actually full, i.e. when it has n items?
P.S.- if u want to say that we do this because we cannot differentiate between the empty and full condition otherwise, then i want to say that i think it is possible according to the code i wrote.