摘要: https://oj.leetcode.com/problems/add-two-numbers/ You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single... 阅读全文
posted @ 2015-03-03 22:26 Acjx 阅读(333) 评论(0) 推荐(0) 编辑
摘要: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 水题,注意 dummy node 的使用即可,在不确定头节点的情况下,应该使用 dummy node,如此可以简化... 阅读全文
posted @ 2015-03-03 16:42 Acjx 阅读(301) 评论(0) 推荐(0) 编辑