Array

Subscribe to see which companies asked this question

You have solved  0/ 98 problems.
# Title Acceptance Difficulty
644 Maximum Average Subarray II 18.4% Hard
643 Maximum Average Subarray I 39.5% Easy
628 Maximum Product of Three Numbers 45.1% Easy
624 Maximum Distance in Arrays 33.0% Easy
621 Task Scheduler 41.6% Medium
611 Valid Triangle Number 40.1% Medium
605 Can Place Flowers 29.9% Easy
581 Shortest Unsorted Continuous Subarray 29.7% Easy
566 Reshape the Matrix 59.6% Easy
565 Array Nesting 49.6% Medium
562 Longest Line of Consecutive One in Matrix 39.3% Medium
561 Array Partition I 67.9% Easy
560 Subarray Sum Equals K 40.9% Medium
548 Split Array with Equal Sum 34.7% Medium
533 Lonely Pixel II 42.0% Medium
532 K-diff Pairs in an Array 28.3% Easy
531 Lonely Pixel I 54.0% Medium
495 Teemo Attacking 51.6% Medium
485 Max Consecutive Ones 54.2% Easy
448 Find All Numbers Disappeared in an Array 51.7% Easy
442 Find All Duplicates in an Array 55.4% Medium
414 Third Maximum Number 27.9% Easy
381 Insert Delete GetRandom O(1) - Duplicates allowed 28.7% Hard
380 Insert Delete GetRandom O(1) 39.0% Medium
370 Range Addition 55.3% Medium
289 Game of Life 36.8% Medium
287 Find the Duplicate Number 43.2% Medium
283 Move Zeroes 49.7% Easy
280 Wiggle Sort 56.9% Medium
277 Find the Celebrity 35.3% Medium
268 Missing Number 44.2% Easy
259 3Sum Smaller 41.3% Medium
245 Shortest Word Distance III 50.2% Medium
243 Shortest Word Distance 52.2% Easy
238 Product of Array Except Self 48.8% Medium
229 Majority Element II 28.5% Medium
228 Summary Ranges 29.6% Medium
219 Contains Duplicate II 32.3% Easy
217 Contains Duplicate 45.5% Easy
216 Combination Sum III 44.8% Medium
209 Minimum Size Subarray Sum 30.4% Medium
189 Rotate Array 24.5% Easy
169 Majority Element 46.4% Easy
167 Two Sum II - Input array is sorted 47.1% Easy
163 Missing Ranges 24.7% Medium
162 Find Peak Element 37.2% Medium
154 Find Minimum in Rotated Sorted Array II 37.0% Hard
153 Find Minimum in Rotated Sorted Array 39.7% Medium
152 Maximum Product Subarray 25.5% Medium
128 Longest Consecutive Sequence 36.6% Hard
126 Word Ladder II 14.1% Hard
123 Best Time to Buy and Sell Stock III 29.1% Hard
122 Best Time to Buy and Sell Stock II 46.8% Easy
121 Best Time to Buy and Sell Stock 41.0% Easy
120 Triangle 33.6% Medium
119 Pascal's Triangle II 36.6% Easy
118 Pascal's Triangle 38.4% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 32.0% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 32.1% Medium
90 Subsets II 35.9% Medium
88 Merge Sorted Array 31.9% Easy
85 Maximal Rectangle 27.7% Hard
84 Largest Rectangle in Histogram 26.6% Hard
81 Search in Rotated Sorted Array II 32.8% Medium
80 Remove Duplicates from Sorted Array II 35.9% Medium
79 Word Search 26.6% Medium
78 Subsets 40.1% Medium
75 Sort Colors 37.8% Medium
74 Search a 2D Matrix 35.1% Medium
73 Set Matrix Zeroes 35.9% Medium
66 Plus One 38.5% Easy
64 Minimum Path Sum 38.3% Medium
63 Unique Paths II 31.6% Medium
62 Unique Paths 40.9% Medium
59 Spiral Matrix II 39.5% Medium
57 Insert Interval 27.5% Hard
56 Merge Intervals 29.9% Medium
55 Jump Game 29.5% Medium
54 Spiral Matrix 25.8% Medium
53 Maximum Subarray 39.5% Easy
48 Rotate Image 38.4% Medium
45 Jump Game II 26.2% Hard
42 Trapping Rain Water 36.6% Hard
41 First Missing Positive 25.5% Hard
40 Combination Sum II 33.4% Medium
39 Combination Sum 38.3% Medium
35 Search Insert Position 39.7% Easy
34 Search for a Range 31.3% Medium
33 Search in Rotated Sorted Array 32.1% Medium
31 Next Permutation 28.7% Medium
27 Remove Element 38.8% Easy
26 Remove Duplicates from Sorted Array 35.5% Easy
18 4Sum 26.7% Medium
16 3Sum Closest 31.0% Medium
15 3Sum 21.6% Medium
11 Container With Most Water 36.5% Medium
4 Median of Two Sorted Arrays 21.6% Hard
1 Two Sum 34.1% Easy
  Send Feedback