Skip to content

Commit ec21c9d

Browse files
Merge pull request #2507 from junhaoqu/fixlinkedlist19java
fix java version for linked list 19
2 parents 75711c7 + 7f0c558 commit ec21c9d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ class Solution {
111111
for (int i = 0; i <= n; i++) {
112112
fastIndex = fastIndex.next;
113113
}
114-
115114
while (fastIndex != null) {
116115
fastIndex = fastIndex.next;
117116
slowIndex = slowIndex.next;

0 commit comments

Comments
 (0)