Array

Subscribe to see which companies asked this question

You have solved  0/ 114 problems.
# Title Acceptance Difficulty
724 Find Pivot Index 41.9% Easy
723 Candy Crush 54.8% Medium
719 Find K-th Smallest Pair Distance 25.0% Hard
718 Maximum Length of Repeated Subarray 39.9% Medium
717 1-bit and 2-bit Characters 51.8% Easy
715 Range Module 31.0% Hard
714 Best Time to Buy and Sell Stock with Transaction Fee 38.8% Medium
713 Subarray Product Less Than K 32.8% Medium
697 Degree of an Array 47.3% Easy
695 Max Area of Island 52.2% Easy
689 Maximum Sum of 3 Non-Overlapping Subarrays 41.3% Hard
683 K Empty Slots 36.6% Hard
674 Longest Continuous Increasing Subsequence 42.9% Easy
670 Maximum Swap 38.3% Medium
667 Beautiful Arrangement II 51.4% Medium
665 Non-decreasing Array 21.1% Easy
661 Image Smoother 45.8% Easy
644 Maximum Average Subarray II 23.0% Hard
643 Maximum Average Subarray I 37.8% Easy
628 Maximum Product of Three Numbers 45.0% Easy
624 Maximum Distance in Arrays 34.4% Easy
621 Task Scheduler 42.2% Medium
611 Valid Triangle Number 42.0% Medium
605 Can Place Flowers 30.1% Easy
581 Shortest Unsorted Continuous Subarray 29.3% Easy
566 Reshape the Matrix 58.4% Easy
562 Longest Line of Consecutive One in Matrix 40.8% Medium
561 Array Partition I 66.7% Easy
560 Subarray Sum Equals K 40.3% Medium
548 Split Array with Equal Sum 37.1% Medium
533 Lonely Pixel II 44.5% Medium
532 K-diff Pairs in an Array 28.2% Easy
531 Lonely Pixel I 55.6% Medium
495 Teemo Attacking 51.5% Medium
485 Max Consecutive Ones 54.0% Easy
448 Find All Numbers Disappeared in an Array 51.2% Easy
442 Find All Duplicates in an Array 56.3% Medium
414 Third Maximum Number 27.9% Easy
381 Insert Delete GetRandom O(1) - Duplicates allowed 29.1% Hard
380 Insert Delete GetRandom O(1) 39.4% Medium
370 Range Addition 56.5% Medium
289 Game of Life 37.1% Medium
287 Find the Duplicate Number 43.8% Medium
283 Move Zeroes 50.7% Easy
280 Wiggle Sort 57.9% Medium
277 Find the Celebrity 35.7% Medium
268 Missing Number 44.3% Easy
259 3Sum Smaller 41.7% Medium
245 Shortest Word Distance III 50.8% Medium
243 Shortest Word Distance 52.9% Easy
238 Product of Array Except Self 49.8% Medium
229 Majority Element II 28.8% Medium
228 Summary Ranges 30.8% Medium
219 Contains Duplicate II 32.6% Easy
217 Contains Duplicate 46.3% Easy
216 Combination Sum III 46.0% Medium
209 Minimum Size Subarray Sum 31.4% Medium
189 Rotate Array 25.0% Easy
169 Majority Element 47.2% Easy
167 Two Sum II - Input array is sorted 47.1% Easy
163 Missing Ranges 23.8% Medium
162 Find Peak Element 38.1% Medium
154 Find Minimum in Rotated Sorted Array II 37.5% Hard
153 Find Minimum in Rotated Sorted Array 40.3% Medium
152 Maximum Product Subarray 26.2% Medium
128 Longest Consecutive Sequence 37.5% Hard
126 Word Ladder II 14.5% Hard
123 Best Time to Buy and Sell Stock III 29.8% Hard
122 Best Time to Buy and Sell Stock II 47.6% Easy
121 Best Time to Buy and Sell Stock 42.0% Easy
120 Triangle 34.4% Medium
119 Pascal's Triangle II 37.5% Easy
118 Pascal's Triangle 39.2% Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 32.6% Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 32.8% Medium
90 Subsets II 37.2% Medium
88 Merge Sorted Array 32.1% Easy
85 Maximal Rectangle 28.8% Hard
84 Largest Rectangle in Histogram 27.1% Hard
81 Search in Rotated Sorted Array II 32.7% Medium
80 Remove Duplicates from Sorted Array II 36.4% Medium
79 Word Search 27.4% Medium
78 Subsets 42.4% Medium
75 Sort Colors 38.4% Medium
74 Search a 2D Matrix 34.9% Medium
73 Set Matrix Zeroes 36.2% Medium
66 Plus One 39.1% Easy
64 Minimum Path Sum 39.2% Medium
63 Unique Paths II 32.0% Medium
62 Unique Paths 41.9% Medium
59 Spiral Matrix II 40.2% Medium
57 Insert Interval 28.3% Hard
56 Merge Intervals 31.0% Medium
55 Jump Game 29.5% Medium
54 Spiral Matrix 26.5% Medium
53 Maximum Subarray 39.9% Easy
48 Rotate Image 39.9% Medium
45 Jump Game II 26.2% Hard
42 Trapping Rain Water 37.1% Hard
41 First Missing Positive 25.6% Hard
40 Combination Sum II 34.7% Medium
39 Combination Sum 39.8% Medium
35 Search Insert Position 39.8% Easy
34 Search for a Range 31.4% Medium
33 Search in Rotated Sorted Array 32.0% Medium
31 Next Permutation 28.8% Medium
27 Remove Element 39.8% Easy
26 Remove Duplicates from Sorted Array 35.5% Easy
18 4Sum 27.1% Medium
16 3Sum Closest 31.3% Medium
15 3Sum 21.8% Medium
11 Container With Most Water 36.8% Medium
4 Median of Two Sorted Arrays 22.3% Hard
1 Two Sum 36.0% Easy