Appearance
近年来 408 数据结构真题中,与「」相关的题目共 2 道,累计 4 分。
循环队列:队空条件 end1==end2 和队满条件 end1==(end2+1)%M
双端队列(输出受限):判断可能的出队序列