最新 最热

Array - 128. Longest Consecutive Sequence

Given an unsorted array of integers, find the length of the longest consecutive elements sequence.

2020-09-23
1

Array - 164. Maximum Gap

Given an unsorted array, find the maximum difference between the successive elements in its sorted form.

2020-09-23
1

Array - 239. Sliding Window Maximum

Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the _k_numbers in t...

2020-09-23
1

Array - 53. Maximum Subarray

Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.

2020-09-23
1

Array - 152. Maximum Product Subarray

Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the largest product.

2020-09-23
1

Array - 88. Merge Sorted Array

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

2020-09-23
1

Array - 283. Move Zeroes

Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.

2020-09-23
1

Array - 80. Remove Duplicates from Sorted Array II

80、Remove Duplicates from Sorted Array II 相似题型: 26

2020-09-23
2

Array - 217. Contains Duplicate

Given an array of integers, find if the array contains any duplicates.

2020-09-23
1

Array - 219. Contains Duplicate II

Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute d...

2020-09-23
1