摘要: 1 /* 2 public class ListNode { 3 int val; 4 ListNode next = null; 5 6 ListNode(int val) { 7 this.val = val; 8 } 9 }*/ 10 public class Solution { 11 public ListNo... 阅读全文
posted @ 2019-06-23 19:09 王爷爱吃秋刀鱼 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 先走k-1步,然后判断fast有没有到空为止. 阅读全文
posted @ 2019-06-23 19:04 王爷爱吃秋刀鱼 阅读(94) 评论(0) 推荐(0) 编辑