diff --git a/problems/0019.删除链表的倒数第N个节点.md b/problems/0019.删除链表的倒数第N个节点.md index c3d19945..a76575bb 100644 --- a/problems/0019.删除链表的倒数第N个节点.md +++ b/problems/0019.删除链表的倒数第N个节点.md @@ -111,7 +111,6 @@ class Solution { for (int i = 0; i <= n; i++) { fastIndex = fastIndex.next; } - while (fastIndex != null) { fastIndex = fastIndex.next; slowIndex = slowIndex.next;