Skip to content

Commit

Permalink
Merge pull request youngyangyang04#2507 from junhaoqu/fixlinkedlist19…
Browse files Browse the repository at this point in the history
…java

fix java version for linked list 19
  • Loading branch information
youngyangyang04 authored May 3, 2024
2 parents 75711c7 + 7f0c558 commit ec21c9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion problems/0019.删除链表的倒数第N个节点.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec21c9d

Please sign in to comment.