Update linked_list.c

pull/244/head
Yudong Jin 2 years ago committed by GitHub
parent 845e70366d
commit 750d4f502d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,8 +14,8 @@ void insert(ListNode* n0, ListNode* P) {
}
/* 删除链表的结点 n0 之后的首个结点 */
/* Keep Sample, 受 c 语言特性限制removeNode 无法更改为 remove,
https://github.com/krahets/hello-algo/pull/244#discussion_r1067863888 */
// 由于引入了 stdio.h ,此处无法使用 remove 关键词
// 详见 https://github.com/krahets/hello-algo/pull/244#discussion_r1067863888
void removeNode(ListNode* n0) {
if (!n0->next)
return;

Loading…
Cancel
Save