鏈表的基本操做----建立、刪除、排序、插入、查找、求長

此博客將詳細介紹單鏈表的建立、刪除、排序、插入、查找、求長 用一個簡單的單鏈表做爲例子,此鏈表只存放一個int,鏈表頭結點不存放數據node 主函數web #include <stdio.h> #include <stdlib.h> typedef struct node { int num; //數據域 struct node *next; //指針
相關文章
相關標籤/搜索