Top 40 Array Problems on LeetCode
1. Two Sum - [Link]
2. Best Time to Buy and Sell Stock - [Link]
3. Maximum Subarray - [Link]
4. Contains Duplicate - [Link]
5. Single Number - [Link]
6. Intersection of Two Arrays II - [Link]
7. Plus One - [Link]
8. Move Zeroes - [Link]
9. Two Sum II - Input Array Is Sorted - [Link]
10. Valid Mountain Array - [Link]
11. Product of Array Except Self - [Link]
12. Subarray Sum Equals K - [Link]
13. Find Minimum in Rotated Sorted Array - [Link]
14. Search in Rotated Sorted Array - [Link]
15. 3Sum - [Link]
16. 4Sum - [Link]
17. Majority Element - [Link]
18. Sort Colors - [Link]
19. Find All Duplicates in an Array - [Link]
20. Merge Intervals - [Link]
21. Longest Consecutive Sequence - [Link]
22. Minimum Size Subarray Sum - [Link]
23. Maximum Product Subarray - [Link]
24. Combination Sum - [Link]
25. Rotate Array - [Link]
26. Container With Most Water - [Link]
27. Find Peak Element - [Link]
28. Trapping Rain Water - [Link]
29. Median of Two Sorted Arrays - [Link]
30. First Missing Positive - [Link]
31. Sliding Window Maximum - [Link]
32. Max Sum of Rectangle No Larger Than K - [Link]
33. Shortest Subarray with Sum at Least K - [Link]
34. Find the Duplicate Number - [Link]
35. Count of Smaller Numbers After Self - [Link]
36. Longest Increasing Path in a Matrix - [Link]
37. Reverse Pairs - [Link]
38. Candy - [Link]
39. Minimum Number of Refueling Stops - [Link]
40. Split Array Largest Sum - [Link]