- 博客(13)
- 收藏
- 关注
原创 49 Group Anagrams
题目链接:https://leetcode.com/problems/anagrams/题目:Given an array of strings, group anagrams together.For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return:[ ["ate", "eat","tea"], ["n
2015-09-29 21:49:59 356
原创 47 Permutations II
题目链接:https://leetcode.com/problems/permutations-ii/题目:Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2] have the following unique
2015-09-23 21:54:57 332
原创 46 Permutations
题目链接:https://leetcode.com/problems/permutations/题目:Given a collection of numbers, return all possible permutations.For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,3,
2015-09-22 20:43:27 792
原创 45 Jump Game II
题目链接:https://leetcode.com/problems/jump-game-ii/题目:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu
2015-09-21 20:47:12 398
原创 43 Multiply Strings
题目链接:https://leetcode.com/problems/multiply-strings/题目:Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are non-
2015-09-19 18:09:09 376
原创 41 First Missing Positive
题目链接:https://leetcode.com/problems/first-missing-positive/题目:Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your a
2015-09-19 16:15:33 294
原创 40 Combination Sum II
题目链接:https://leetcode.com/problems/combination-sum-ii/题目:Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.Eac
2015-09-18 21:35:33 218
原创 39 Combination Sum
题目链接:https://leetcode.com/problems/combination-sum/题目:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repe
2015-09-17 21:11:54 249
原创 33 Search in Rotated Sorted Array
题目链接:https://leetcode.com/problems/search-in-rotated-sorted-array/题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are g
2015-09-14 20:01:30 303
原创 32 Longest Valid Parentheses
题目链接:https://leetcode.com/problems/longest-valid-parentheses/
2015-09-10 21:49:40 476
原创 30 Substring with Concatenation of All Words
题目链接:https://leetcode.com/problems/substring-with-concatenation-of-all-words/题目:You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of subs
2015-09-09 20:33:05 632
原创 38 Count and Say
题目链接:https://leetcode.com/problems/count-and-say/题目:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read o
2015-09-06 20:01:23 268
原创 31 Next Permutation
题目链接:https://leetcode.com/problems/next-permutation/题目:Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not pos
2015-09-01 20:51:32 1425
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人