最新 最热

LeetCode 0282 - Expression Add Operators

Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between the digits so t...

2021-08-11
1

LeetCode 0398 - Random Pick Index

Given an array of integers with possible duplicates, randomly output the index of a given target number. You can assume that the given target number must exist ...

2021-08-11
1

LeetCode 0399 - Evaluate Division

Given an array of integers with possible duplicates, randomly output the index of a given target number. You can assume that the given target number must exist ...

2021-08-11
1

LeetCode 0081 - Search in Rotated Sorted Array II

Follow up for “Search in Rotated Sorted Array”:

2021-08-11
1

LeetCode 0039 - Combination Sum

Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.

2021-08-11
1

LeetCode 0040 - 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.

2021-08-11
1

LeetCode 0033 - Search in Rotated Sorted Array

Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.

2021-08-11
1

LeetCode 0034 - Search for a Range

Given an array of integers sorted in ascending order, find the starting and ending position of a given target value.

2021-08-11
1

LeetCode 0018 - 4Sum

4SumDesicriptionGiven an array S of n integers, are there elements a, b, c, and d in S such that a

2021-08-11
1

LeetCode 0016 - 3Sum Closest

Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may a...

2021-08-11
1