22-隊列

隊列(Queue)html 通常的順序隊列:node   因爲這種結構會有假溢出的狀況,因此通常不選擇這種隊列,而更多的使用循環隊列。數組   循環隊列:post     判斷隊列滿的狀況:spa 一、count來計數;一般使用count指針 Count等於隊列的MAXSIZEcode 2、Flag標誌  inthtm 入隊列 flag=1   出隊列flag=0blog Front=rear&&
相關文章
相關標籤/搜索