• 循环队列会浪费一个空间,用于记录 tail。当 tail = head 时,队列为空。当 (tail + 1) % n = head 时,说明循环队列满。