Skip to content

Latest commit

 

History

History
141 lines (141 loc) · 9.08 KB

Array.md

File metadata and controls

141 lines (141 loc) · 9.08 KB

Array

No. Title Mark
1 Two Sum
4 Median of Two Sorted Arrays
11 Container With Most Water
15 3Sum
16 3Sum Closest
26 Remove Duplicates from Sorted Array
31 Next Permutation
33 Search in Rotated Sorted Array
34 Find First and Last Position of Element in Sorted Array
35 Search Insert Position
36 Valid Sudoku
37 Sudoku Solver
39 Combination Sum
40 Combination Sum II
41 First Missing Positive
42 Trapping Rain Water
45 Jump Game II
46 Permutations
47 Permutations II
48 Rotate Image
51 N-Queens
53 Maximum Subarray
54 Spiral Matrix
55 Jump Game
56 Merge Intervals
63 Unique Paths II
64 Minimum Path Sum
66 Plus One
74 Search a 2D Matrix
77 Combinations
78 Subsets
79 Word Search
81 Search in Rotated Sorted Array II
84 Largest Rectangle in Histogram
85 Maximal Rectangle
88 Merge Sorted Array
90 Subsets II
105 Construct Binary Tree from Preorder and Inorder Traversal
106 Construct Binary Tree from Inorder and Postorder Traversal
108 Convert Sorted Array to Binary Search Tree
118 Pascal's Triangle
120 Triangle
121 Best Time to Buy and Sell Stock
122 Best Time to Buy and Sell Stock II
123 Best Time to Buy and Sell Stock III
128 Longest Consecutive Sequence
130 Surrounded Regions
135 Candy
136 Single Number
137 Single Number II
150 Evaluate Reverse Polish Notation
152 Maximum Product Subarray
153 Find Minimum in Rotated Sorted Array
154 Find Minimum in Rotated Sorted Array II
164 Maximum Gap
169 Majority Element
174 Dungeon Game
188 Best Time to Buy and Sell Stock IV
189 Rotate Array
198 House Robber
200 Number of Islands
209 Minimum Size Subarray Sum
212 Word Search II
213 House Robber II
215 Kth Largest Element in an Array
216 Combination Sum III
217 Contains Duplicate
218 The Skyline Problem
221 Maximal Square
239 Sliding Window Maximum
256 Paint House
260 Single Number III
265 Paint House II
268 Missing Number
283 Move Zeroes
300 Longest Increasing Subsequence
303 Range Sum Query - Immutable
304 Range Sum Query 2D - Immutable
309 Best Time to Buy and Sell Stock with Cooldown
322 Coin Change
347 Top K Frequent Elements
349 Intersection of Two Arrays
354 Russian Doll Envelopes
363 Max Sum of Rectangle No Larger Than K
368 Largest Divisible Subset
370 Range Addition
377 Combination Sum IV
403 Frog Jump
410 Split Array Largest Sum
413 Arithmetic Slices
416 Partition Equal Subset Sum
448 Find All Numbers Disappeared in an Array
474 Ones and Zeroes
475 Heaters
494 Target Sum
496 Next Greater Element I
503 Next Greater Element II
518 Coin Change 2
529 Minesweeper
542 01 Matrix
560 Subarray Sum Equals K
581 Shortest Unsorted Continuous Subarray
673 Number of Longest Increasing Subsequence
714 Best Time to Buy and Sell Stock with Transaction Fee
718 Maximum Length of Repeated Subarray
733 Flood Fill
739 Daily Temperatures
740 Delete and Earn
704 Binary Search
705 Design HashSet
706 Design HashMap
801 Minimum Swaps To Make Sequences Increasing
813 Largest Sum of Averages
641 Design Circular Deque
622 Design Circular Queue
862 Find And Replace in String
871 Minimum Number of Refueling Stops
873 Guess the Word
879 Maximize Distance to Closest Person
889 Construct Binary Tree from Preorder and Postorder Traversal
912 Sort an Array
918 Maximum Sum Circular Subarray
931 Minimum Falling Path Sum
1008 Construct Binary Search Tree from Preorder Traversal
1013 Partition Array Into Three Parts With Equal Sum
1027 Sum of Even Numbers After Queries
1049 Last Stone Weight II
1277 Count Square Submatrices with All Ones
1388 Pizza With 3n Slices
1473 Paint House III
1670 Design Front Middle Back Queue
1863 Sum of All Subset XOR Totals
1028 Interval List Intersections
1038 Number of Squareful Arrays
1055 Pairs of Songs With Total Durations Divisible by 60
1143 Find Smallest Common Element in All Rows
1206 Corporate Flight Bookings
1372 Check If It Is a Good Array