未验证 提交 52fb6792 编写于 作者: S SnailClimb 提交者: GitHub

Update 几道常见的链表算法题.md

上级 5e268c76
......@@ -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--;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册