摘要: 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 @ 2014-09-15 21:38 LeviCode 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[−2,1,−3,4,−1,2,1,... 阅读全文
posted @ 2014-09-15 15:04 LeviCode 阅读(77) 评论(0) 推荐(0) 编辑