随笔分类 - cc150-LinkedList
摘要:1 public static ListNode add(ListNode l1, ListNode l2){ 2 3 Stack s1 = new Stack(); 4 Stack s2 = new Stack(); 5 while(l1!=null){ 6 s1.push(l1.val); 7 l1 = l1.next; 8 } 9 while(l2!=null){10 s2.push(l2.val);11 ...
阅读全文
posted @ 2014-02-26 02:49
krunning
浙公网安备 33010602011771号