摘要: 1.头插法 void HeadCreatList(List *L) //头插法建立链表 { List *s; //不用像尾插法一样生成一个终端节点。 L->next = NULL; for (int i = 0; i < 10; i++) { s = (struct List*) malloc(si 阅读全文
posted @ 2020-03-29 10:53 sunseeker 阅读(7101) 评论(0) 推荐(1) 编辑