Update linked_list.c

This commit is contained in:
Yudong Jin 2023-01-13 16:19:04 +08:00 committed by GitHub
parent 750d4f502d
commit 7ab9fd68c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@
#include "../include/include.h"
/* 在链表的结点 n0 之后插入结点 P */
/* 在链表的结点 n0 之后插入结点 P */
void insert(ListNode* n0, ListNode* P) {
ListNode *n1 = n0->next;
n0->next = P;