Sollicitatievraag bij Nuvoton

Another question was two functions handling a queue implemented by a cyclic array. One function add to the queue and the other take from the queue and I have to follow the indexes for a given input. Then did told me there is a bug, it was something related to the order in which values are checked.