https://oj.leetcode.com/problems/merge-k-sorted-lists/ Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexi...
分类:
其他好文 时间:
2015-03-04 22:20:44
阅读次数:
141
https://oj.leetcode.com/problems/reverse-linked-list-ii/Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2-...
分类:
其他好文 时间:
2015-03-04 20:59:28
阅读次数:
131
https://oj.leetcode.com/problems/swap-nodes-in-pairs/ Given a linked list, swap every two adjacent nodes and return its head. For example,Given 1->2->...
分类:
其他好文 时间:
2015-03-04 19:03:40
阅读次数:
145
In dental clinics, we see a lot of instruments used by dentists for diagnosing mild as well as severe dental problems. After being used for dental the...
分类:
其他好文 时间:
2015-03-04 18:18:07
阅读次数:
209
https://oj.leetcode.com/problems/reorder-list/Given a singly linked listL:L0→L1→…→Ln-1→Ln,reorder it to:L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-pla...
分类:
其他好文 时间:
2015-03-04 16:22:21
阅读次数:
153
https://oj.leetcode.com/problems/add-two-numbers/ You are given two linked lists representing two non-negative numbers. The digits are stored in rever...
分类:
其他好文 时间:
2015-03-03 23:32:43
阅读次数:
179
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-list-ii/Given a sorted linked list, delete all nodes that have duplicate numbers, leavi...
分类:
其他好文 时间:
2015-03-03 20:29:59
阅读次数:
174
3942 - Remember the Word
Time limit: 3.000 seconds
Neal is very curious about combinatorial problems, and now here comes a problem about words. Knowing that Ray has a photographic memory an...
分类:
其他好文 时间:
2015-03-03 18:34:40
阅读次数:
151
https://oj.leetcode.com/problems/convert-sorted-list-to-binary-search-tree/Given a singly linked list where elements are sorted in ascending order, co...
分类:
其他好文 时间:
2015-03-03 14:57:08
阅读次数:
166
https://oj.leetcode.com/problems/symmetric-tree/Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For exam...
分类:
其他好文 时间:
2015-03-02 20:45:29
阅读次数:
203