摘要: 题目: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contains a si 阅读全文
posted @ 2019-02-21 14:52 林木声 阅读(119) 评论(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 解答: 阅读全文
posted @ 2019-02-21 14:34 林木声 阅读(275) 评论(0) 推荐(0)
摘要: 题目: Determine whether an integer is a palindrome. Do this without extra space 解答: First, compare the first and last digit. If they are not the same, i 阅读全文
posted @ 2019-02-21 14:28 林木声 阅读(170) 评论(0) 推荐(0)
摘要: 题目: Given a number represented as an array of digits, plus one to the number 解答: 阅读全文
posted @ 2019-02-21 14:15 林木声 阅读(139) 评论(0) 推荐(0)