Update 0019.删除链表的倒数第N个节点.md

更正代码错误
This commit is contained in:
sss1h 2024-03-12 20:20:00 +08:00 committed by GitHub
parent be3f8855da
commit cb58e8afa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public:
// ListNode *tmp = slow->next; C++释放内存的逻辑
// slow->next = tmp->next;
// delete nth;
// delete tmp;
return dummyHead->next;
}