Array

Subscribe to see which companies asked this question

You have solved  0/ 80 problems.
# Title Acceptance Difficulty
485 Max Consecutive Ones 61.7% Easy
448 Find All Numbers Disappeared in an Array 55.2% Easy
442 Find All Duplicates in an Array 48.5% Medium
414 Third Maximum Number 26.8% Easy
381 Insert Delete GetRandom O(1) - Duplicates allowed 27.9% Hard
380 Insert Delete GetRandom O(1) 38.5% Hard
370 Range Addition 53.6% Medium
289 Game of Life 36.3% Medium
287 Find the Duplicate Number 41.8% Hard
283 Move Zeroes 47.9% Easy
280 Wiggle Sort 55.2% Medium
277 Find the Celebrity 35.5% Medium
268 Missing Number 43.6% Medium
259 3Sum Smaller 40.6% Medium
245 Shortest Word Distance III 49.4% Medium
243 Shortest Word Distance 50.8% Easy
238 Product of Array Except Self 47.1% Medium
229 Majority Element II 27.8% Medium
228 Summary Ranges 28.1% Medium
219 Contains Duplicate II 31.5% Easy
217 Contains Duplicate 43.8% Easy
216 Combination Sum III 42.0% Medium
209 Minimum Size Subarray Sum 28.7% Medium
189 Rotate Array 23.5% Easy
169 Majority Element 44.9% Easy
167 Two Sum II - Input array is sorted 48.3% Medium
163 Missing Ranges 27.4% Medium
162 Find Peak Element 35.9% Medium
154 Find Minimum in Rotated Sorted Array II 36.2% Hard
153 Find Minimum in Rotated Sorted Array 38.6% Medium
152 Maximum Product Subarray 24.5% Medium
128 Longest Consecutive Sequence 35.3% Hard
126 Word Ladder II 13.6% Hard
123 Best Time to Buy and Sell Stock III 28.3% Hard
122 Best Time to Buy and Sell Stock II 45.5% Medium
121 Best Time to Buy and Sell Stock 39.2% Easy
120 Triangle 32.5% Medium
119 Pascal's Triangle II 35.1% Easy
118 Pascal's Triangle 36.8% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 31.0% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 30.8% Medium
90 Subsets II 33.9% Medium
88 Merge Sorted Array 31.4% Easy
85 Maximal Rectangle 26.1% Hard
84 Largest Rectangle in Histogram 25.7% Hard
81 Search in Rotated Sorted Array II 32.9% Medium
80 Remove Duplicates from Sorted Array II 34.9% Medium
79 Word Search 25.4% Medium
78 Subsets 36.8% Medium
75 Sort Colors 36.7% Medium
74 Search a 2D Matrix 35.6% Medium
73 Set Matrix Zeroes 35.1% Medium
66 Plus One 37.0% Easy
64 Minimum Path Sum 37.2% Medium
63 Unique Paths II 30.9% Medium
62 Unique Paths 39.3% Medium
59 Spiral Matrix II 38.0% Medium
57 Insert Interval 26.4% Hard
56 Merge Intervals 28.4% Hard
55 Jump Game 29.2% Medium
54 Spiral Matrix 24.6% Medium
53 Maximum Subarray 38.8% Medium
48 Rotate Image 37.2% Medium
45 Jump Game II 26.0% Hard
42 Trapping Rain Water 35.3% Hard
41 First Missing Positive 25.0% Hard
40 Combination Sum II 31.4% Medium
39 Combination Sum 35.8% Medium
35 Search Insert Position 39.0% Medium
34 Search for a Range 30.9% Medium
33 Search in Rotated Sorted Array 32.0% Hard
31 Next Permutation 28.1% Medium
27 Remove Element 37.0% Easy
26 Remove Duplicates from Sorted Array 35.3% Easy
18 4Sum 25.7% Medium
16 3Sum Closest 30.6% Medium
15 3Sum 20.9% Medium
11 Container With Most Water 36.1% Medium
4 Median of Two Sorted Arrays 20.8% Hard
1 Two Sum 30.1% Easy
Send Feedback