Array

Subscribe to see which companies asked this question

You have solved  0/ 103 problems.
# Title Acceptance Difficulty
674 Longest Continuous Increasing Subsequence 43.9% Easy
670 Maximum Swap 38.1% Medium
667 Beautiful Arrangement II 51.7% Medium
665 Non-decreasing Array 21.2% Easy
661 Image Smoother 46.3% Easy
644 Maximum Average Subarray II 21.1% Hard
643 Maximum Average Subarray I 37.8% Easy
628 Maximum Product of Three Numbers 45.3% Easy
624 Maximum Distance in Arrays 33.7% Easy
621 Task Scheduler 42.3% Medium
611 Valid Triangle Number 41.3% Medium
605 Can Place Flowers 30.0% Easy
581 Shortest Unsorted Continuous Subarray 29.5% Easy
566 Reshape the Matrix 58.7% Easy
565 Array Nesting 49.4% Medium
562 Longest Line of Consecutive One in Matrix 40.2% Medium
561 Array Partition I 67.1% Easy
560 Subarray Sum Equals K 40.3% Medium
548 Split Array with Equal Sum 36.4% Medium
533 Lonely Pixel II 43.7% Medium
532 K-diff Pairs in an Array 28.2% Easy
531 Lonely Pixel I 54.8% Medium
495 Teemo Attacking 51.5% Medium
485 Max Consecutive Ones 54.0% Easy
448 Find All Numbers Disappeared in an Array 51.3% Easy
442 Find All Duplicates in an Array 55.9% Medium
414 Third Maximum Number 27.9% Easy
381 Insert Delete GetRandom O(1) - Duplicates allowed 28.9% Hard
380 Insert Delete GetRandom O(1) 39.2% Medium
370 Range Addition 56.1% Medium
289 Game of Life 37.0% Medium
287 Find the Duplicate Number 43.6% Medium
283 Move Zeroes 50.2% Easy
280 Wiggle Sort 57.3% Medium
277 Find the Celebrity 35.4% Medium
268 Missing Number 44.3% Easy
259 3Sum Smaller 41.5% Medium
245 Shortest Word Distance III 50.5% Medium
243 Shortest Word Distance 52.5% Easy
238 Product of Array Except Self 49.3% Medium
229 Majority Element II 28.6% Medium
228 Summary Ranges 30.2% Medium
219 Contains Duplicate II 32.5% Easy
217 Contains Duplicate 45.9% Easy
216 Combination Sum III 45.5% Medium
209 Minimum Size Subarray Sum 31.0% Medium
189 Rotate Array 24.7% Easy
169 Majority Element 46.9% Easy
167 Two Sum II - Input array is sorted 47.1% Easy
163 Missing Ranges 24.2% Medium
162 Find Peak Element 37.7% Medium
154 Find Minimum in Rotated Sorted Array II 37.3% Hard
153 Find Minimum in Rotated Sorted Array 40.1% Medium
152 Maximum Product Subarray 25.9% Medium
128 Longest Consecutive Sequence 37.1% Hard
126 Word Ladder II 14.3% Hard
123 Best Time to Buy and Sell Stock III 29.4% Hard
122 Best Time to Buy and Sell Stock II 47.2% Easy
121 Best Time to Buy and Sell Stock 41.5% Easy
120 Triangle 34.0% Medium
119 Pascal's Triangle II 37.1% Easy
118 Pascal's Triangle 38.8% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 32.3% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 32.5% Medium
90 Subsets II 36.6% Medium
88 Merge Sorted Array 32.1% Easy
85 Maximal Rectangle 28.2% Hard
84 Largest Rectangle in Histogram 26.9% Hard
81 Search in Rotated Sorted Array II 32.7% Medium
80 Remove Duplicates from Sorted Array II 36.2% Medium
79 Word Search 27.0% Medium
78 Subsets 41.3% Medium
75 Sort Colors 38.1% Medium
74 Search a 2D Matrix 34.9% Medium
73 Set Matrix Zeroes 36.0% Medium
66 Plus One 38.8% Easy
64 Minimum Path Sum 38.7% Medium
63 Unique Paths II 31.8% Medium
62 Unique Paths 41.4% Medium
59 Spiral Matrix II 39.9% Medium
57 Insert Interval 27.9% Hard
56 Merge Intervals 30.4% Medium
55 Jump Game 29.5% Medium
54 Spiral Matrix 26.2% Medium
53 Maximum Subarray 39.7% Easy
48 Rotate Image 39.1% Medium
45 Jump Game II 26.2% Hard
42 Trapping Rain Water 36.9% Hard
41 First Missing Positive 25.6% Hard
40 Combination Sum II 34.1% Medium
39 Combination Sum 39.1% Medium
35 Search Insert Position 39.8% Easy
34 Search for a Range 31.4% Medium
33 Search in Rotated Sorted Array 32.1% Medium
31 Next Permutation 28.8% Medium
27 Remove Element 39.4% Easy
26 Remove Duplicates from Sorted Array 35.4% Easy
18 4Sum 26.9% Medium
16 3Sum Closest 31.2% Medium
15 3Sum 21.7% Medium
11 Container With Most Water 36.7% Medium
4 Median of Two Sorted Arrays 22.0% Hard
1 Two Sum 35.1% Easy