摘要: 收获:1、程序调试一定要根据结果推理,不能乱试,至少要有根据的试 2、单向链表遍历的时候要注意: 不能找到之前的元素。这样,在遍历到list末尾的时候,就不能给list添加元素了。Problem: 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 digit. Add the two numbers and return it as a li... 阅读全文
posted @ 2013-11-16 20:14 joythink89 阅读(346) 评论(0) 推荐(1) 编辑