Queue/CircularQueue.c
int isEmpty(Queue* Q) {
    if (Q->front == Q->rear) {
        return 1;
    } else {
        return 0;
    }
}
/**
 * judge queue is or not empty
 * @param Q the pointer of queue
 * @return empty flag
 */
judge queue is or not empty
@param Q the pointer of queue
@return empty flag
judge queue is or not empty @param Q the pointer of queue @return empty flag
int isEmpty(Queue* Q) {
    if (Q->front == Q->rear) {
        return 1;
    } else {
        return 0;
    }
}
int isEmpty ( Queue * Q ) { if ( Q -> front == Q -> rear ) { return 1 ; } else { return 0 ; } }
judge queue is or not empty
 @param Q the pointer of queue
 @return empty flag
judge queue is or not empty @param Q the pointer of queue @return empty flag