最新 最热

LeetCode 0268 - Missing Number

Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array.

2021-08-11
0

LeetCode 0334 - Increasing Triplet Subsequence

Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array.

2021-08-11
1

LeetCode 0338 - Counting Bits

Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them...

2021-08-11
0

LeetCode 0324 - Wiggle Sort II

Given an unsorted array nums, reorder it such that nums[0] < nums[1] > nums[2] < nums[3]….

2021-08-11
0

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 0119 - Pascal's Triangle II

Given an index k, return the kth row of the Pascal’s triangle.

2021-08-11
1

LeetCode 0099 - Recover Binary Search Tree

Two elements of a binary search tree (BST) are swapped by mistake.

2021-08-11
1

LeetCode 0088 - Merge Sorted Array

Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.

2021-08-11
1

LeetCode 0063 - Unique Paths II

Unique Paths IIDesicriptionFollow up for “Unique Paths”:Now consider if some obstacles are added

2021-08-11
1

LeetCode 0041 - First Missing Positive

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

2021-08-11
1