摘要: 递归版,因为既要传一个node也要传数字回来,所以只能写个wrapper。class Solution { class IntWrapper { public int value = 0; } public ListNode kthLast(ListNode head, int ... 阅读全文
posted @ 2015-02-19 10:01 江南第一少 阅读(145) 评论(0) 推荐(0)