摘要: package lianTab; public class p206 { public ListNode reverseList(ListNode head) { ListNode prev = null; ListNode curr = head; while (curr != null) { L 阅读全文
posted @ 2020-07-29 09:48 菜鸡要加油 阅读(87) 评论(0) 推荐(0)
摘要: package lianTab; public class p2 { public ListNode addTwoNumbers(ListNode l1, ListNode l2) { if(l1==null&&l2==null)return null; ListNode ans=new ListN 阅读全文
posted @ 2020-07-29 09:44 菜鸡要加油 阅读(91) 评论(0) 推荐(0)