最新 最热

LeetCode 0052 - N-Queens II

Now, instead outputting board configurations, return the total number of distinct solutions.

2021-08-11
1

LeetCode 0054 - Spiral Matrix

Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.

2021-08-11
1

LeetCode 0055 - Jump Game

Given an array of non-negative integers, you are initially positioned at the first index of the array.

2021-08-11
1

LeetCode 0056 - Merge Intervals

Given a collection of intervals, merge all overlapping intervals.

2021-08-11
1

LeetCode 0041 - First Missing Positive

Given an unsorted integer array, find the first missing positive integer.

2021-08-11
1

LeetCode 0046 - Permutations

Given a collection of distinct numbers, return all possible permutations.

2021-08-11
0

LeetCode 0047 - Permutations II

Given a collection of numbers that might contain duplicates, return all possible unique permutations.

2021-08-11
2

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 0021 - Merge Two Sorted Lists

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.

2021-08-11
1