Array
1. Two Sum11. Container With Most Water15. 3Sum16. 3Sum Closest18. 4Sum26. Remove Duplicates from Sorted Array27. Remove Element31. Next Permutation36. Valid Sudoku41. First Missing Positive42. Trapping Rain Water48. Rotate Image54. Spiral Matrix56. Merge Intervals57. Insert Interval59. Spiral Matrix II66. Plus One73. Set Matrix Zeroes75. Sort Colors80. Remove Duplicates from Sorted Array II88. Merge Sorted Array118. Pascal's Triangle119. Pascal's Triangle II121. Best Time to Buy and Sell Stock122. Best Time to Buy and Sell Stock II123. Best Time to Buy and Sell Stock III128. Longest Consecutive Sequence163. Missing Ranges164. Maximum Gap167. Two Sum II - Input array is sorted169. Majority Element188. Best Time to Buy and Sell Stock IV189. Rotate Array200. Number of Islands209. Minimum Size Subarray Sum217. Contains Duplicate219. Contains Duplicate II220. Contains Duplicate III228. Summary Ranges229. Majority Element II238. Product of Array Except Self239. Sliding Window Maximum243. Shortest Word Distance244. Shortest Word Distance II245. Shortest Word Distance III252. Meeting Rooms253. Meeting Rooms II259. 3Sum Smaller268. Missing Number277. Find the Celebrity280. Wiggle Sort283. Move Zeroes287. Find the Duplicate Number289. Game of Life299. Bulls and Cows307. Range Sum Query - Mutable308. Range Sum Query 2D - Mutable309. Best Time to Buy and Sell Stock with Cooldown311. Sparse Matrix Multiplication324. Wiggle Sort II325. Maximum Size Subarray Sum Equals k334. Increasing Triplet Subsequence370. Range Addition414. Third Maximum Number419. Battleships in a Board442. Find All Duplicates in an Array448. Find All Numbers Disappeared in an Array454. 4Sum II457. Circular Array Loop463. Island Perimeter480. Sliding Window Median485. Max Consecutive Ones487. Max Consecutive Ones II495. Teemo Attacking498. Diagonal Traverse509. Fibonacci Number523. Continuous Subarray Sum525. Contiguous Array531. Lonely Pixel I533. Lonely Pixel II548. Split Array with Equal Sum560. Subarray Sum Equals K561. Array Partition I562. Longest Line of Consecutive One in Matrix565. Array Nesting566. Reshape the Matrix587. Erect the Fence605. Can Place Flowers611. Valid Triangle Number624. Maximum Distance in Arrays643. Maximum Average Subarray I644. Maximum Average Subarray II645. Set Mismatch649. Dota2 Senate670. Maximum Swap695. Max Area of Island697. Degree of an Array713. Subarray Product Less Than K714. Best Time to Buy and Sell Stock with Transaction Fee717. 1-bit and 2-bit Characters724. Find Pivot Index768. Max Chunks To Make Sorted II769. Max Chunks To Make Sorted792. Number of Matching Subsequences849. Maximize Distance to Closest Person855. Exam Room862. Shortest Subarray with Sum at Least K904. Fruit Into Baskets905. Sort Array By Parity930. Binary Subarrays With Sum939. Minimum Area Rectangle957. Prison Cells After N Days974. Subarray Sums Divisible by K977. Squares of a Sorted Array989. Add to Array-Form of Integer992. Subarrays with K Different Integers997. Find the Town Judge1002. Find Common Characters1004. Max Consecutive Ones III1007. Minimum Domino Rotations For Equal Row1031. Maximum Sum of Two Non-Overlapping Subarrays1099. Two Sum Less Than K1137. N-th Tribonacci Number1152. Analyze User Website Visit Pattern1229. Meeting Scheduler1234. Replace the Substring for Balanced String1248. Count Number of Nice Subarrays
Last updated
Was this helpful?