https://leetcode.com/problems/merge-intervals/Merge IntervalsGiven a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[...
分类:
其他好文 时间:
2015-07-03 12:16:58
阅读次数:
108
https://leetcode.com/problems/sort-colors/Sort ColorsGiven an array withnobjects colored red, white or blue, sort them so that objects of the same col...
分类:
编程语言 时间:
2015-07-03 12:02:12
阅读次数:
124
https://leetcode.com/problems/insert-interval/Insert IntervalGiven a set ofnon-overlappingintervals, insert a new interval into the intervals (merge i...
分类:
其他好文 时间:
2015-07-03 11:59:40
阅读次数:
115
原题链接:https://leetcode.com/problems/longest-palindromic-substring/
题目:Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exis...
分类:
其他好文 时间:
2015-07-03 10:45:37
阅读次数:
146
67 Add Binary链接:https://leetcode.com/problems/add-binary/
问题描述:
Given two binary strings, return their sum (also a binary string).For example,
a = “11”
b = “1”
Return “100”.Hide Tags Math String求两...
分类:
其他好文 时间:
2015-07-03 10:42:39
阅读次数:
126
题目来自:https://leetcode.com/problems/linked-list-cycle-ii/Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up:
Can you solve it without using extra s...
分类:
其他好文 时间:
2015-07-03 00:15:03
阅读次数:
220
https://leetcode.com/problems/insertion-sort-list/Insertion Sort ListSort a linked list using insertion sort.题目:插入排序 1 # Definition for singly-linked ...
分类:
其他好文 时间:
2015-07-02 22:21:54
阅读次数:
140
https://leetcode.com/problems/sort-list/Sort ListSort a linked list inO(nlogn) time using constant space complexity.来自http://www.cnblogs.com/zuoyuan/p...
分类:
其他好文 时间:
2015-07-02 22:15:21
阅读次数:
149
Problem Description
Happy New Term!
As having become a junior, xiaoA recognizes that there is not much time for her to AC problems, because there are some other things for her to do, which makes h...
分类:
其他好文 时间:
2015-07-02 15:47:02
阅读次数:
163
https://leetcode.com/problems/kth-smallest-element-in-a-bst/Given a binary search tree, write a functionkthSmallestto find thekth smallest element in ...
分类:
其他好文 时间:
2015-07-02 11:58:59
阅读次数:
190