Array

Subscribe to see which companies asked this question

You have solved  0/ 123 problems.
# Title Acceptance Difficulty
769 Max Chunks To Make Sorted 45.3%
Medium
768 Max Chunks To Make Sorted II 42.9%
Hard
766 Toeplitz Matrix 66.6%
Easy
755 Pour Water 33.9%
Medium
747 Largest Number At Least Twice of Others 43.9%
Easy
746 Min Cost Climbing Stairs 44.5%
Easy
731 My Calendar II 37.3%
Medium
729 My Calendar I 41.6%
Medium
724 Find Pivot Index 40.2%
Easy
723 Candy Crush 55.7%
Medium
719 Find K-th Smallest Pair Distance 26.9%
Hard
718 Maximum Length of Repeated Subarray 41.0%
Medium
717 1-bit and 2-bit Characters 49.7%
Easy
715 Range Module 31.4%
Hard
714 Best Time to Buy and Sell Stock with Transaction Fee 44.0%
Medium
713 Subarray Product Less Than K 33.2%
Medium
697 Degree of an Array 47.1%
Easy
695 Max Area of Island 52.2%
Easy
689 Maximum Sum of 3 Non-Overlapping Subarrays 41.8%
Hard
683 K Empty Slots 35.8%
Hard
674 Longest Continuous Increasing Subsequence 42.4%
Easy
670 Maximum Swap 38.6%
Medium
667 Beautiful Arrangement II 51.6%
Medium
665 Non-decreasing Array 20.8%
Easy
661 Image Smoother 45.9%
Easy
644 Maximum Average Subarray II 24.2%
Hard
643 Maximum Average Subarray I 37.7%
Easy
628 Maximum Product of Three Numbers 44.9%
Easy
624 Maximum Distance in Arrays 34.8%
Easy
621 Task Scheduler 42.8%
Medium
611 Valid Triangle Number 42.4%
Medium
605 Can Place Flowers 30.2%
Easy
581 Shortest Unsorted Continuous Subarray 29.3%
Easy
566 Reshape the Matrix 58.0%
Easy
565 Array Nesting 49.6%
Medium
562 Longest Line of Consecutive One in Matrix 41.3%
Medium
561 Array Partition I 66.6%
Easy
560 Subarray Sum Equals K 40.5%
Medium
548 Split Array with Equal Sum 37.6%
Medium
533 Lonely Pixel II 45.1%
Medium
532 K-diff Pairs in an Array 28.2%
Easy
531 Lonely Pixel I 56.1%
Medium
495 Teemo Attacking 51.6%
Medium
485 Max Consecutive Ones 53.9%
Easy
448 Find All Numbers Disappeared in an Array 51.4%
Easy
442 Find All Duplicates in an Array 56.6%
Medium
414 Third Maximum Number 28.0%
Easy
381 Insert Delete GetRandom O(1) - Duplicates allowed 29.4%
Hard
380 Insert Delete GetRandom O(1) 39.8%
Medium
370 Range Addition 57.0%
Medium
289 Game of Life 37.2%
Medium
287 Find the Duplicate Number 44.1%
Medium
283 Move Zeroes 51.1%
Easy
280 Wiggle Sort 58.4%
Medium
277 Find the Celebrity 35.8%
Medium
268 Missing Number 44.7%
Easy
259 3Sum Smaller 41.9%
Medium
245 Shortest Word Distance III 51.1%
Medium
243 Shortest Word Distance 53.4%
Easy
238 Product of Array Except Self 50.1%
Medium
229 Majority Element II 29.0%
Medium
228 Summary Ranges 31.4%
Medium
219 Contains Duplicate II 32.7%
Easy
217 Contains Duplicate 46.7%
Easy
216 Combination Sum III 46.6%
Medium
209 Minimum Size Subarray Sum 31.8%
Medium
189 Rotate Array 25.2%
Easy
169 Majority Element 47.6%
Easy
167 Two Sum II - Input array is sorted 47.3%
Easy
163 Missing Ranges 23.5%
Medium
162 Find Peak Element 38.5%
Medium
154 Find Minimum in Rotated Sorted Array II 37.7%
Hard
153 Find Minimum in Rotated Sorted Array 40.6%
Medium
152 Maximum Product Subarray 26.5%
Medium
128 Longest Consecutive Sequence 37.9%
Hard
126 Word Ladder II 14.7%
Hard
123 Best Time to Buy and Sell Stock III 30.1%
Hard
122 Best Time to Buy and Sell Stock II 47.8%
Easy
121 Best Time to Buy and Sell Stock 42.5%
Easy
120 Triangle 34.6%
Medium
119 Pascal's Triangle II 37.8%
Easy
118 Pascal's Triangle 39.6%
Easy
106 Construct Binary Tree from Inorder and Postorder Traversal 32.8%
Medium
105 Construct Binary Tree from Preorder and Inorder Traversal 33.2%
Medium
90 Subsets II 37.7%
Medium
88 Merge Sorted Array 32.2%
Easy
85 Maximal Rectangle 29.2%
Hard
84 Largest Rectangle in Histogram 27.4%
Hard
81 Search in Rotated Sorted Array II 32.7%
Medium
80 Remove Duplicates from Sorted Array II 36.6%
Medium
79 Word Search 27.8%
Medium
78 Subsets 43.5%
Medium
75 Sort Colors 38.7%
Medium
74 Search a 2D Matrix 34.8%
Medium
73 Set Matrix Zeroes 36.4%
Medium
66 Plus One 39.4%
Easy
64 Minimum Path Sum 39.9%
Medium
63 Unique Paths II 32.1%
Medium
62 Unique Paths 42.3%
Medium
59 Spiral Matrix II 40.6%
Medium
57 Insert Interval 28.7%
Hard
56 Merge Intervals 31.5%
Medium
55 Jump Game 29.6%
Medium
54 Spiral Matrix 26.9%
Medium
53 Maximum Subarray 40.1%
Easy
48 Rotate Image 40.8%
Medium
45 Jump Game II 26.2%
Hard
42 Trapping Rain Water 37.5%
Hard
41 First Missing Positive 25.8%
Hard
40 Combination Sum II 35.3%
Medium
39 Combination Sum 40.6%
Medium
35 Search Insert Position 40.0%
Easy
34 Search for a Range 31.6%
Medium
33 Search in Rotated Sorted Array 32.1%
Medium
31 Next Permutation 29.0%
Medium
27 Remove Element 40.3%
Easy
26 Remove Duplicates from Sorted Array 35.9%
Easy
18 4Sum 27.3%
Medium
16 3Sum Closest 31.5%
Medium
15 3Sum 21.8%
Medium
11 Container With Most Water 37.0%
Medium
4 Median of Two Sorted Arrays 22.6%
Hard
1 Two Sum 36.9%
Easy