原题地址:https://oj.leetcode.com/problems/median-of-two-sorted-arrays/题意:There
are two sorted arrays A and B of size m and n respectively. Find the median...
分类:
编程语言 时间:
2014-06-04 18:52:31
阅读次数:
356
感谢微信平台: 一天一道算法题-------每天多一点进步-----------这题的话
我就直接用我们自己Oj的题目了 戳我好吧 如今看这题 是很简单 当时 是块被它搞崩溃了 因为 还不知道 dp 这个概念现在有了这个概念 好多了 但还是
只能做做这种水 dp。。。。多么悲伤的故事这题 因为太水了...
分类:
其他好文 时间:
2014-06-03 13:48:42
阅读次数:
227
原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate
the value of an arithmetic expression inReverse Polish Notation.Val...
分类:
编程语言 时间:
2014-06-03 11:18:22
阅读次数:
335
原题地址:https://oj.leetcode.com/problems/reverse-words-in-a-string/题意:Given
an input string, reverse the string word by word.For example,Given s = "the s...
分类:
编程语言 时间:
2014-06-03 11:13:36
阅读次数:
258
原题地址:https://oj.leetcode.com/problems/word-break/题意:Given
a stringsand a dictionary of wordsdict, determine ifscan be segmented into a
space-separated...
分类:
编程语言 时间:
2014-06-03 09:14:24
阅读次数:
293
原题地址:https://oj.leetcode.com/problems/max-points-on-a-line/题意:Givennpoints
on a 2D plane, find the maximum number of points that lie on the same strai...
分类:
编程语言 时间:
2014-06-03 08:55:48
阅读次数:
282
原题地址:https://oj.leetcode.com/problems/word-break-ii/题意:Given
a stringsand a dictionary of wordsdict, add spaces insto construct a sentence
where each ...
分类:
编程语言 时间:
2014-06-03 07:13:21
阅读次数:
339
原题地址:https://oj.leetcode.com/problems/candy/题意:There
areNchildren standing in a line. Each child is assigned a rating value.You are
giving candies to ...
分类:
编程语言 时间:
2014-05-31 21:58:12
阅读次数:
410
原题地址:https://oj.leetcode.com/problems/subsets-ii/题意:Given
a collection of integers that might contain duplicates,S, return all possible
subsets.Note:E...
分类:
编程语言 时间:
2014-05-29 19:10:53
阅读次数:
278
原题地址:https://oj.leetcode.com/problems/palindrome-partitioning/题意:Given
a strings, partitionssuch that every substring of the partition is a
palindrome...
分类:
编程语言 时间:
2014-05-29 18:26:15
阅读次数:
334