
Merge
文章平均质量分 80
所难
这个作者很懒,什么都没留下…
展开
-
LeetCode-Merge k Sorted Lists
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. Solution: Code:原创 2014-08-17 22:59:19 · 306 阅读 · 0 评论 -
LeetCode-Letter Combinations of a Phone Number
Given a digit string, return all possible letter combinations that the number could represent. A mapping of digit to letters (just like on the telephone buttons) is given below. Input:Digit st原创 2014-08-18 12:01:34 · 513 阅读 · 0 评论 -
LeetCode-Merge Two Sorted Lists
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. Solution: Code:原创 2014-08-11 22:36:02 · 265 阅读 · 0 评论