上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页
摘要: 原题地址:https://oj.leetcode.com/problems/longest-consecutive-sequence/题意:Given an unsorted array of integers, find the length of the longest consecutive ... 阅读全文
posted @ 2014-06-03 12:51 南郭子綦 阅读(3907) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/surrounded-regions/题意:Given a 2D board containing'X'and'O', capture all regions surrounded by'X'.A region is cap... 阅读全文
posted @ 2014-06-03 11:35 南郭子綦 阅读(4046) 评论(1) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/gas-station/题意:There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You ha... 阅读全文
posted @ 2014-05-30 14:20 南郭子綦 阅读(2761) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/candy/题意:There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to ... 阅读全文
posted @ 2014-05-30 13:20 南郭子綦 阅读(1672) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/word-break-ii/题意:Given a stringsand a dictionary of wordsdict, add spaces insto construct a sentence where each ... 阅读全文
posted @ 2014-05-30 11:53 南郭子綦 阅读(4489) 评论(1) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/word-break/题意:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated... 阅读全文
posted @ 2014-05-30 10:53 南郭子綦 阅读(6055) 评论(1) 推荐(0) 编辑
摘要: 原题地址: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... 阅读全文
posted @ 2014-05-30 10:35 南郭子綦 阅读(2782) 评论(1) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate the value of an arithmetic expression inReverse Polish Notation.Val... 阅读全文
posted @ 2014-05-30 09:55 南郭子綦 阅读(3063) 评论(0) 推荐(0) 编辑
摘要: 原题地址: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... 阅读全文
posted @ 2014-05-30 09:27 南郭子綦 阅读(2917) 评论(0) 推荐(0) 编辑
摘要: 原题地址: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... 阅读全文
posted @ 2014-05-29 17:34 南郭子綦 阅读(11542) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/permutations-ii/题意:Given a collection of numbers that might contain duplicates, return all possible unique permu... 阅读全文
posted @ 2014-05-29 13:05 南郭子綦 阅读(4001) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/permutations/题意:Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the foll... 阅读全文
posted @ 2014-05-29 12:17 南郭子綦 阅读(6529) 评论(0) 推荐(1) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/palindrome-partitioning-ii/题意:Given a strings, partitionssuch that every substring of the partition is a palindr... 阅读全文
posted @ 2014-05-29 11:58 南郭子綦 阅读(3263) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/palindrome-partitioning/题意:Given a strings, partitionssuch that every substring of the partition is a palindrome... 阅读全文
posted @ 2014-05-29 09:52 南郭子綦 阅读(3877) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/subsets-ii/题意:Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:E... 阅读全文
posted @ 2014-05-29 09:22 南郭子綦 阅读(3376) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 下一页