赵乐ACM

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年6月26日

摘要: 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 linked list.Input:(2 -> 4 -> 3) + (5 -> 6 -> 4)Output:7 -> 0 -> 8解题思路:很简单,主要考察链表的操作,对链 阅读全文
posted @ 2013-06-26 11:48 赵乐ACM 阅读(3036) 评论(1) 推荐(1) 编辑