- 博客(8)
- 收藏
- 关注
原创 【LeetCode】【JAVA】45. Jump Game II
45. 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 maximum jump length at that positi...
2019-03-28 18:09:17
187
原创 【LeetCode】【JAVA】44. Wildcard Matching
44. Wildcard Matching题目Given an input string (s) and a pattern §, implement wildcard pattern matching with support for ‘?’ and ‘*’.‘?’ Matches any single character.‘*’ Matches any sequence ofcha...
2019-03-28 17:30:59
150
原创 【LeetCode】【JAVA】43. Multiply Strings
43. Multiply Strings题目Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string.给定两个以字符串形式表示的非负整数 num1 和 num2,返回 num...
2019-03-28 00:47:48
146
原创 【LeetCode】【JAVA】39. Combination Sum & 40. Combination Sum II
39. Combination Sum题目Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the candidate numbers sums to ...
2019-03-26 20:05:26
104
原创 【LeetCode】【JAVA】36. Valid Sudoku
36. Valid Sudoku题目判断一个 9x9 的数独是否有效。只需要根据以下规则,验证已经填入的数字是否有效即可。数字 1-9 在每一行只能出现一次。数字 1-9 在每一列只能出现一次。数字 1-9 在每一个以粗实线分隔的 3x3 宫内只能出现一次。示例输入:[[“5”,“3”,".",".",“7”,".",".",".","."],[“6”,".",".",...
2019-03-25 21:50:19
164
原创 【LeetCode】【JAVA】34. Find First and Last Position of Element in Sorted Array
34. Find First and Last Position of Element in Sorted Array题目Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.Your algorithm...
2019-03-25 20:46:33
126
原创 【LeetCode】【JAVA】33. Search in Rotated Sorted Array
33. Search in Rotated Sorted Array题目Suppose an array sorted in ascending order 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 give...
2019-03-25 20:17:52
91
原创 【LeetCode】【java】30. Substring with Concatenation of All Words
30. 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 substring(s) in s that is a conca...
2019-03-25 17:59:41
122
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人