Skip to content

Commit

Permalink
Update 几道常见的链表算法题.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Snailclimb authored Jun 1, 2019
1 parent 5e268c7 commit 52fb679
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ public class Solution {
while (node1 != null) {
node1 = node1.next;
count++;
if (k < 1 && node1 != null) {
if (k < 1) {
node2 = node2.next;
}
k--;
Expand Down

0 comments on commit 52fb679

Please sign in to comment.