尾插法新建链表
摘要:
核心代码: tail = head; s->next = NULL; tail->next = s; tail = s; 插入过程演示: ![[Pasted image 20230623143820.png]] 头插法尾插法新建链表完整代码 #include <iostream> #include< 阅读全文
posted @ 2024-05-06 16:40 Destiny9521 阅读(54) 评论(0) 推荐(0)
posted @ 2024-05-06 16:40 Destiny9521 阅读(54) 评论(0) 推荐(0)
posted @ 2024-05-06 16:35 Destiny9521 阅读(52) 评论(0) 推荐(0)
posted @ 2024-05-06 16:33 Destiny9521 阅读(23) 评论(0) 推荐(0)
posted @ 2024-05-06 16:31 Destiny9521 阅读(84) 评论(0) 推荐(0)