摘要: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note:You may assume that nums1 has enough space (size that is greater or equal to m + n) to hold additional... 阅读全文
posted @ 2015-10-23 21:29 dylqt 阅读(134) 评论(0) 推荐(0) 编辑
摘要: Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significant digit is at the head of the list. 用一个数组中的每个值连起来作为一个数,把这个数加1... 阅读全文
posted @ 2015-10-23 09:09 dylqt 阅读(120) 评论(0) 推荐(0) 编辑