I have seen many ways to check when a queue is full, but I don`t understand any, so in simple words when is a queue full?
(If there is a code please make it in C++ or pseudocode)
I have this code to check if the queue is full:-
myFront != (myBack+1) % max
(e.g. why isn`t it simply " myBack == max ")