1. 问题描述 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.T ...
分类:
其他好文 时间:
2016-06-17 22:24:22
阅读次数:
127
题目 两个人从同一个点出发,在一个餐厅中寻找两个相邻的座位,需要是的从出发点到达座位的距离总和最短。题目链接: Have Lunch Together 最短路程,一开始以为要用dijkstra等图算法,发现完全不用,直接用BFS进行搜索,并标记到达每个点的最短距离。一次BFS求出从起始点 到达所有点 ...
分类:
其他好文 时间:
2016-06-17 12:31:50
阅读次数:
155
Here are the main points about must and have to. 1) Both 'have to' and 'must' are used to express obligation. You must stop eating so much. You have t ...
分类:
其他好文 时间:
2016-06-13 13:45:21
阅读次数:
194
题目链接:https://leetcode.com/problems/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 ...
分类:
其他好文 时间:
2016-06-12 03:06:44
阅读次数:
164
题目链接:https://leetcode.com/problems/anagrams/
题目:
Given an array of strings, group anagrams together.
For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"],
Return:
[
["ate", "...
分类:
其他好文 时间:
2016-06-12 02:41:58
阅读次数:
125
Given an array of strings, group anagrams together. Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate ...
分类:
其他好文 时间:
2016-06-11 07:08:02
阅读次数:
329
Group Anagrams
Total Accepted: 76941 Total
Submissions: 275801 Difficulty: Medium
Given an array of strings, group anagrams together.
For example, given: ["eat", "tea", "tan", "ate"...
分类:
其他好文 时间:
2016-06-02 14:54:36
阅读次数:
204
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. 解题思路: Th ...
分类:
其他好文 时间:
2016-06-02 08:26:54
阅读次数:
94
Operator precedences are shown in the following list, from highest precedence to the lowest. Operators that are shown together on a line have the same ...
分类:
数据库 时间:
2016-05-29 13:45:27
阅读次数:
590
This lesson will teach you about another horizontal combination operator: buffer and its variants. Buffer groups consecutive values together, emitting ...
分类:
Web程序 时间:
2016-05-27 19:58:02
阅读次数:
234