2019年7月24日
摘要: /** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int x) { val = x; } * } */ public class Solution { ... 阅读全文
posted @ 2019-07-24 22:04 JetaimeBeaucoup 阅读(70) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int x) { val = x; } * } */ public class Solution { ... 阅读全文
posted @ 2019-07-24 18:30 JetaimeBeaucoup 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 反转的方法 /** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int x) { val = x; } * } */ public class Solutio... 阅读全文
posted @ 2019-07-24 18:15 JetaimeBeaucoup 阅读(102) 评论(0) 推荐(0) 编辑
摘要: /** * Definition for singly-linked list. * public class ListNode { * public int val; * public ListNode next; * public ListNode(int x) { val = x; } * } 阅读全文
posted @ 2019-07-24 17:45 JetaimeBeaucoup 阅读(70) 评论(0) 推荐(0) 编辑