Array

Subscribe to see which companies asked this question

You have solved  0/ 90 problems.
# Title Acceptance Difficulty
581 Shortest Unsorted Continuous Subarray 30.3% Easy
566 Reshape the Matrix 60.9% Easy
562 Longest Line of Consecutive One in Matrix 37.6% Medium
561 Array Partition I 69.2% Easy
560 Subarray Sum Equals K 41.5% Medium
548 Split Array with Equal Sum 30.7% Medium
533 Lonely Pixel II 40.2% Medium
532 K-diff Pairs in an Array 27.8% Easy
531 Lonely Pixel I 52.3% Medium
495 Teemo Attacking 52.0% Medium
485 Max Consecutive Ones 54.3% Easy
448 Find All Numbers Disappeared in an Array 52.3% Easy
442 Find All Duplicates in an Array 54.3% Medium
414 Third Maximum Number 27.6% Easy
381 Insert Delete GetRandom O(1) - Duplicates allowed 28.6% Hard
380 Insert Delete GetRandom O(1) 38.9% Medium
370 Range Addition 54.8% Medium
289 Game of Life 36.6% Medium
287 Find the Duplicate Number 42.8% Medium
283 Move Zeroes 49.2% Easy
280 Wiggle Sort 56.4% Medium
277 Find the Celebrity 35.3% Medium
268 Missing Number 44.1% Easy
259 3Sum Smaller 41.1% Medium
245 Shortest Word Distance III 49.9% Medium
243 Shortest Word Distance 51.7% Easy
238 Product of Array Except Self 48.4% Medium
229 Majority Element II 28.2% Medium
228 Summary Ranges 29.1% Medium
219 Contains Duplicate II 32.0% Easy
217 Contains Duplicate 45.0% Easy
216 Combination Sum III 43.9% Medium
209 Minimum Size Subarray Sum 29.9% Medium
189 Rotate Array 24.2% Easy
169 Majority Element 45.9% Easy
167 Two Sum II - Input array is sorted 47.2% Easy
163 Missing Ranges 25.3% Medium
162 Find Peak Element 36.8% Medium
154 Find Minimum in Rotated Sorted Array II 36.8% Hard
153 Find Minimum in Rotated Sorted Array 39.4% Medium
152 Maximum Product Subarray 25.2% Medium
128 Longest Consecutive Sequence 36.2% Hard
126 Word Ladder II 13.9% Hard
123 Best Time to Buy and Sell Stock III 28.9% Hard
122 Best Time to Buy and Sell Stock II 46.4% Easy
121 Best Time to Buy and Sell Stock 40.5% Easy
120 Triangle 33.2% Medium
119 Pascal's Triangle II 36.1% Easy
118 Pascal's Triangle 37.9% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 31.6% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 31.6% Medium
90 Subsets II 35.3% Medium
88 Merge Sorted Array 31.8% Easy
85 Maximal Rectangle 27.2% Hard
84 Largest Rectangle in Histogram 26.2% Hard
81 Search in Rotated Sorted Array II 32.8% Medium
80 Remove Duplicates from Sorted Array II 35.5% Medium
79 Word Search 26.2% Medium
78 Subsets 39.1% Medium
75 Sort Colors 37.5% Medium
74 Search a 2D Matrix 35.2% Medium
73 Set Matrix Zeroes 35.6% Medium
66 Plus One 38.0% Easy
64 Minimum Path Sum 38.0% Medium
63 Unique Paths II 31.4% Medium
62 Unique Paths 40.4% Medium
59 Spiral Matrix II 38.9% Medium
57 Insert Interval 27.1% Hard
56 Merge Intervals 29.4% Medium
55 Jump Game 29.4% Medium
54 Spiral Matrix 25.4% Medium
53 Maximum Subarray 39.3% Easy
48 Rotate Image 38.0% Medium
45 Jump Game II 26.1% Hard
42 Trapping Rain Water 36.2% Hard
41 First Missing Positive 25.3% Hard
40 Combination Sum II 32.7% Medium
39 Combination Sum 37.5% Medium
35 Search Insert Position 39.4% Easy
34 Search for a Range 31.2% Medium
33 Search in Rotated Sorted Array 32.1% Medium
31 Next Permutation 28.6% Medium
27 Remove Element 38.3% Easy
26 Remove Duplicates from Sorted Array 35.5% Easy
18 4Sum 26.3% Medium
16 3Sum Closest 30.9% Medium
15 3Sum 21.5% Medium
11 Container With Most Water 36.3% Medium
4 Median of Two Sorted Arrays 21.4% Hard
1 Two Sum 33.1% Easy
Send Feedback