鏈表之循環鏈表

進入循環鏈表之前我先解決一下上篇博文最後提到到的一種更方便的管理鏈表的結構: typedef struct node  //節點類型 { type value; struct node *next; }Node; typedef struct list { Node *phead; Node *ptail; int length; }List;     首先來說這種結構只是爲了方便管理,對於鏈表之
相關文章
相關標籤/搜索