隊列的鏈式存儲

#include <stdio.h> #include <stdlib.h>node //經典的隊列,使用鏈式存儲實現 //隊列的基本特色就是一端是執行出列操做,一端是執行入列操做 typedef struct node{ int data; struct node*next; }Node;web typedef struct{ int front; int rear; int maxSize;
相關文章
相關標籤/搜索