1
ARRAY
PROBLEM TYPE :EASY
SNO PROBLEM NO PROBLEM NAME TYPE
1 1 Two Sum EASY
2 26 Remove EASY
Duplicates from
Sorted Array
3 27 Remove Element EASY
4 35 Search EASY
Insert
Position
5 66 Plus One EASY
6 88 Merge Sorted Array EASY
7 108 Convert EASY
Sorted Array
to Binary
Search Tree
8 118 Pascal's Triangle EASY
9 119 Pascal's Triangle II EASY
10 121 Best Time to Buy EASY
and Sell Stock
11 136 Single Number EASY
12 169 Majority Element EASY
13 217 Contains Duplicate EASY
14 219 Contains Duplicate EASY
II
15 228 Summary Ranges EASY
16 268 Missing Number EASY
17 283 Move Zeroes EASY
18 303 Range Sum EASY
Query -
Immutable
19 349 Intersection of EASY
Two Arrays
2
SNO PROBLEM NO PROBLEM NAME TYPE
20 350 Intersection of EASY
Two Arrays II
21 414 Third EASY
Maximum
Number
22 448 Find All EASY
Numbers
Disappeared in
an Array
23 445 Assign Cookies EASY
24 463 Island Perimeter EASY
25 485 Max EASY
Consecutive
Ones
26 495 Teemo Attacking EASY
27 496 Next EASY
Greater
Element I
28 500 Keyboard Row EASY
29 506 Relative Ranks EASY
30 561 Array Partition EASY
31 566 Reshape the Matrix EASY
32 575 Distribute Candies EASY
33 594 Longest EASY
Harmonious
Subsequence
34 598 Range Addition II EASY
35 599 Minimum Index EASY
Sum of Two Lists
36 605 Can Place Flowers EASY
37 628 Can Place Flowers EASY
38 643 Maximum Product EASY
of Three Numbers
3
SNO PROBLEM NO PROBLEM NAME TYPE
39 643 Maximum EASY
Average
Subarray I
40 645 Set Mismatch EASY
41 661 Image Smoother EASY
42 674 Longest EASY
Continuous
Increasing
Subsequence
43 683 Baseball Game EASY
44 697 Degree of an Array EASY
45 704 Binary Search EASY
46 717 Design HashSet EASY
47 724 Design HashMap EASY
48 717 1-bit and 2- EASY
bit
Characters
49 724 Find Pivot Index EASY
50 744 Find Smallest EASY
Letter Greater
Than Target
51 733 Flood Fill EASY
52 746 Min Cost EASY
Climbing Stairs
53 747 Largest Number EASY
At Least Twice
of Others
54 748 Shortest EASY
Completing Word
55 766 Toeplitz Matrix EASY
56 804 Unique Morse EASY
Code Words
57 806 Number of Lines EASY
To Write String
4
SNO PROBLEM NO PROBLEM NAME TYPE
58 812 Largest Triangle EASY
Area
59 819 Most Common EASY
Word
60 821 Shortest Distance EASY
to a Character
61 832 Flipping an Image EASY
62 860 Lemonade Change EASY
63 867 Transpose Matrix EASY
64 883 Projection Area of EASY
3D Shapes
65 888 Fair Candy Swap EASY
66 892 Surface Area of EASY
3D Shapes
67 896 Monotonic Array EASY
68 905 Sort Array By Parity EASY
69 908 Smallest Range I EASY
70 914 X of a Kind in a EASY
Deck of Cards
71 922 Sort Array By Parity EASY
II
72 929 Unique EASY
Email
Addresses
73 941 Valid Mountain EASY
Array
74 942 DI String Match EASY
75 944 Delete Columns EASY
to Make Sorted
76 953 Verifying an EASY
Alien
Dictionary
5
SNO PROBLEM NO PROBLEM NAME TYPE
77 961 EASY
N-Repeated
element in size 2N
array
78 976 Largest EASY
Perimeter
Triangle
79 977 Squares of a Sorted EASY
Array
80 989 Add to Array-Form EASY
of Integer
81 997 Find the Town Judge EASY
82 999 Available Captures EASY
for Rook
83 1002 Find Common EASY
Characters
84 1005 Maximize Sum Of EASY
Array After K
Negations
85 1089 Duplicate Zeros EASY
86 1013 Partition Array Into EASY
Three Parts With
Equal Sum
87 1018 Binary Prefix EASY
Divisible By 5
88 1030 Matrix Cells in EASY
Distance Order
89 1037 Valid Boomerang EASY
90 1046 Last Stone Weight EASY
91 1051 Height Checker EASY
92 1122 Relative Sort Array EASY
93 1128 Number of EASY
Equivalent Domino
Pairs
94 1160 Find Words That Can EASY
Be Formed by
Characters
95 1184 Distance Between EASY
Bus Stops
6
S NO PROBLEM PROBLEM NAME TYPE
NO
96 1200 Minimum Absolute Difference EASY
97 1207 Unique Number of Occurrences EASY
98 1217 Minimum Cost to Move Chips to The EASY
Same Position
99 1232 Check If It Is a Straight Line EASY
100 1252 Cells with Odd Values in a Matrix EASY
101 1260 Shift 2D Grid EASY
102 1266 Minimum Time Visiting All Points EASY
103 1275 Find Winner on a Tic Tac EASY
104 1380 Lucky Numbers in a Matrix EASY
105 1287 Element Appearing More Than 25% EASY
In Sorted Array
106 1295 Find Numbers with Even Number of EASY
Digits
107 1365 How Many Numbers Are Smaller EASY
Than the Current Number
108 1304 Replace Elements with Greatest EASY
Element on Right Side
109 1304 Find N Unique Integers Sum up to EASY
Zero
110 1313 Decompress Run-Length Encoded EASY
List
111 1331 Rank Transform of an Array EASY
112 1337 The K Weakest Rows in a Matrix EASY
113 1346 Check If N and Its Double Exist EASY
114 1351 1351. Count Negative Numbers in a EASY
Sorted Matrix
115 1356 Sort Integers by The Number of 1 EASY
Bits
7
SN0 PROBLEM NO PROBLEM NAME TYPE
116 1385 Find the Distance Value EASY
Between Two Arrays
117 1389 1389. Create Target Array in EASY
the Given Order
118 1394 1394. Find Lucky Integer1403. EASY
Minimum Subsequence in
Non-Increasing Order in an Array
119 1408 String Matching in an Array EASY
120 1413 1413. Minimum Value to Get EASY
Positive Step by Step Sum
121 1431 1431. Kids With the Greatest EASY
Number of Candies
122 1436 Destination City EASY
123 1437 1437. Check If All 1's Are at EASY
Least Length K Places Away
124 1450 1450. Number of Students Doing EASY
Homework at a Given Time
125 1460 1460. Make Two Arrays Equal by EASY
Reversing Subarrays
126 1464 1464. Maximum Product of Two EASY
Elements in an Array
127 1470 Shuffle the Array EASY
128 1475 1475. Final Prices With a Special EASY
Discount in a Shop
129 1480 Running Sum of 1d Array EASY
130 1491 1491. Average Salary Excluding EASY
the Minimum and Maximum
Salary
131 1502 1502. Can Make Arithmetic EASY
Progression From Sequence
132 1512 Number of Good Pairs EASY
133 1528 1528. Shuffle String EASY
134 1534 1534. Count Good Triplets EASY
135 1560 1560. Most Visited Sector in a EASY
Circular Track
ARRAY EASY
S.NO PROBLEM NO PROBLEM NAME TYPE
136. 1920 1920. Build Array from Permutation EASY
137. 1929 1929. Concatenation of Array EASY
138. 1961 1961. Check If String Is a Prefix of Array EASY
139. 1979 1979. Find Greatest Common Divisor of Array EASY
140. 1984. Minimum Difference Between Highest and
1984 EASY
Lowest of K Scores
141. 1991 1991. Find the Middle Index in Array EASY
142. 1995 1995. Count Special Quadruplets EASY
143. 2006. Count Number of Pairs With Absolute
2006 EASY
Difference K
144. 2011. Final Value of Variable After Performing
2011 EASY
Operations
145. 2016. Maximum Difference Between Increasing
2016 EASY
Elements
146. 2022 2022. Convert 1D Array Into 2D Array EASY
147. 2032 2032. Two Out of Three EASY
148. 2037. Minimum Number of Moves to Seat
2037 EASY
Everyone
149. 2053 2053. Kth Distinct String in an Array EASY
150. 2057 2057. Smallest Index With Equal Value EASY
151. 2073 2073. Time Needed to Buy Tickets EASY
152. 2078 2078. Two Furthest Houses With Different Colors EASY
153. 2085 2085. Count Common Words With One Occurrence EASY
154. 2089 2089. Find Target Indices After Sorting Array EASY
155. 2094 2094. Finding 3-Digit Even Numbers EASY
ARRAY EASY
156. 2099. Find Subsequence of Length K With the
2099 EASY
Largest Sum
157 2108 2108. Find First Palindromic String in the Array EASY
.
158. 2114. Maximum Number of Words Found in
2114 EASY
Sentences
159. 2133. Check if Every Row and Column Contains All
2133 EASY
Numbers
160. 2144. Minimum Cost of Buying Candies With
2144 EASY
Discount
161. 2148. Count Elements With Strictly Smaller and
2148 EASY
Greater Elements
162. 2154 2154. Keep Multiplying Found Values by Two EASY
163. 2164 2164. Sort Even and Odd Indices Independently EASY
164. 2176 2176. Count Equal and Divisible Pairs in an Array EASY
165. 2185 2185. Counting Words With a Given Prefix EASY
166. 2190. Most Frequent Number Following Key In an
2190 EASY
Array
167. 2200 2200. Find All K-Distant Indices in an Array EASY
168. 2206 2206. Divide Array Into Equal Pairs EASY
169. 2210 2210. Count Hills and Valleys in an Array EASY
170. 2215 2215. Find the Difference of Two Arrays EASY
171. 2229 2229. Check if an Array Is Consecutive EASY
172. 2239 2239. Find Closest Number to Zero EASY
173. 2248 2248. Intersection of Multiple Arrays EASY
174. 2255 2255. Count Prefixes of a Given String EASY
175. 2273. Find Resultant Array After Removing
2273 EASY
Anagrams
176. 2293 2293. Min Max Game EASY
ARRAY EASY
177. 2303 2303. Calculate Amount Paid in Taxes EASY
178 2319 2319. Check if Matrix Is X-Matrix EASY
.
179. 2335 2335. Minimum Amount of Time to Fill Cups EASY
180. 2341 2341. Maximum Number of Pairs in Array EASY
181. 2347 2347. Best Poker Hand EASY
182. 2357. Make Array Zero by Subtracting Equal
2357 EASY
Amounts
183. 2363 2363. Merge Similar Items EASY
184. 2367 2367. Number of Arithmetic Triplets EASY
185. 2373 2373. Largest Local Values in a Matrix EASY
186. 2383. Minimum Hours of Training to Win a
2383 EASY
Competition
187. 2389 2389. Longest Subsequence With Limited Sum EASY
188. 2395 2395. Find Subarrays With Equal Sum EASY
189. 2399 2399. Check Distances Between Same Letters EASY
190. 2404 2404. Most Frequent Even Element EASY
191. 2418 2418. Sort the People EASY
192. 2432. The Employee That Worked on the Longest
2432 EASY
Task
193. 2441. Largest Positive Integer That Exists With Its
2441 EASY
Negative
194. 2446 2446. Determine if Two Events Have Conflict EASY
195. 2451 2451. Odd String Difference EASY
196. 2455. Average Value of Even Numbers That Are
2455 EASY
Divisible by Three
197. 2460 2460. Apply Operations to an Array EASY
ARRAY EASY
198. 2465 2465. Number of Distinct Averages EASY
199. 2475 2475. Number of Unequal Triplets in Array EASY
200. 2496 2496. Maximum Value of a String in an Array EASY
201 2500 2500. Delete Greatest Value in Each Row EASY
.
202. 2506 2506. Count Pairs Of Similar Strings EASY
203. 2511. Maximum Enemy Forts That Can Be
2511 EASY
Captured
204. 2515. Shortest Distance to Target String in a
2515 EASY
Circular Array
205. 2529. Maximum Count of Positive Integer and
2529 EASY
Negative Integer
206. 2535. Difference Between Element Sum and Digit
2535 EASY
Sum of an Array
207. 2540 2540. Minimum Common Value EASY
208. 2549 2549. Count Distinct Numbers on Board EASY
209. 2553 2553. Separate the Digits in an Array EASY
210. 2558 2558. Take Gifts From the Richest Pile EASY
211. 2562 2562. Find the Array Concatenation Value EASY
212. 2570 2570. Merge Two 2D Arrays by Summing Values EASY
213. 2574 2574. Left and Right Sum Differences EASY
214. 2586 2586. Count the Number of Vowel Strings in Range EASY
215. 2605. Form Smallest Number From Two Digit
2605 EASY
Arrays
216. 2614 2614. Prime In Diagonal EASY
217. 2639 2639. Find the Width of Columns of a Grid EASY
218. 2643 2643. Row With Maximum Ones EASY
ARRAY EASY
219. 2644 2644. Find the Maximum Divisibility Score EASY
220. 2656 2656. Maximum Sum With Exactly K Elements EASY
221. 2660 2660. Determine the Winner of a Bowling Game EASY
222. 2670 2670. Find the Distinct Difference Array EASY
223 2678 2678. Number of Senior Citizens EASY
.
224. 2682 2682. Find the Losers of the Circular Game EASY
225. 2706 2706. Buy Two Chocolates EASY
226. 2717 2717. Semi-Ordered Permutation EASY
227. 2728 2728. Count Houses in a Circular Street EASY
228. 2733 2733. Neither Minimum nor Maximum EASY
229. 2744 2744. Find Maximum Number of String Pairs EASY
230. 2748 2748. Number of Beautiful Pairs EASY
231. 2760 2760. Longest Even Odd Subarray With Threshold EASY
232. 2765 2765. Longest Alternating Subarray EASY
233. 2778 2778. Sum of Squares of Special Elements EASY
234. 2784 2784. Check if Array is Good EASY
235. 2788 2788. Split Strings by Separator EASY
236. 2798 2798. Number of Employees Who Met the Target EASY
237. 2815 2815. Max Pair Sum in an Array EASY
238. 2824 2824. Count Pairs Whose Sum is Less than Target EASY
239. 2828 2828. Check if a String Is an Acronym of Words EASY
240. 2848 2848. Points That Intersect With Cars EASY
241. 2855 2855. Minimum Right Shifts to Sort the Array EASY
ARRAY EASY
242. 2859 2859. Sum of Values at Indices With K Set Bits EASY
243. 2869 2869. Minimum Operations to Collect Elements EASY
244. 2873 2873. Maximum Value of an Ordered Triplet I EASY
245 2899 2899. Last Visited Integers EASY
.
246. 2900. Longest Unequal Adjacent Groups
2900 EASY
Subsequence I
247. 2903. Find Indices With Index and Value Difference
2903 EASY
I
248. 2908 2908. Minimum Sum of Mountain Triplets I EASY
249. 2913 2913. Subarrays Distinct Element Sum of Squares I EASY
250. 2917 2917. Find the K-or of an Array EASY
251. 2923 2923. Find Champion I EASY
252. 2932 2932. Maximum Strong Pair XOR I EASY
253. 2942 2942. Find Words Containing Character EASY
254. 2946 2946. Matrix Similarity After Cyclic Shifts EASY
255. 2951 2951. Find the Peaks EASY
256. 2956 2956. Find Common Elements Between Two Arrays EASY
257. 2960 2960. Count Tested Devices After Test Operations EASY
258. 2965 2965. Find Missing and Repeated Values EASY
259. 2970. Count the Number of Incremovable
2970 EASY
Subarrays I
260. 2974 2974. Minimum Number Game EASY
261. 2980 2980. Check if Bitwise OR Has Trailing Zeros EASY
262. 2996. Smallest Missing Integer Greater Than
2996 EASY
Sequential Prefix Sum
ARRAY EASY
263. 3000. Maximum Area of Longest Diagonal
3000 EASY
Rectangle
264. 3005 3005. Count Elements With Maximum Frequency EASY
265. 3010. Divide an Array Into Subarrays With
3010 EASY
Minimum Cost I
266 3024 3024. Type of Triangle EASY
.
267. 3028 3028. Ant on the Boundary EASY
268. 3033 3033. Modify the Matrix EASY
269. 3038. Maximum Number of Operations With the
3038 EASY
Same Score I
270. 3042 3042. Count Prefix and Suffix Pairs I EASY
271. 3046 3046. Split the Array EASY
1
MEDIUM
SNO PROBLEM NO PROBLEM NAME TYPE
1 11 Container With MEDIUM
Most Water
2 15 3Sum MEDIUM
3 16 3Sum Closest MEDIUM
4 18 4Sum MEDIUM
5 31 Next Permutation MEDIUM
6 33 Search in MEDIUM
Rotated Sorted
Array
7 34 Find First and MEDIUM
Last Position of
Element in
Sorted Array
8 36 Valid Sudoku MEDIUM
9 39 Combination Sum MEDIUM
10 40 Combination Sum II MEDIUM
11 45 Jump Game II MEDIUM
12 46 Permutations MEDIUM
13 47 Permutations II MEDIUM
14 48 Rotate Image MEDIUM
15 49 Group Anagrams MEDIUM
16 53 Maximum Subarray MEDIUM
17 54 Spiral Matrix MEDIUM
18 55 Jump Game MEDIUM
19 56 Merge Intervals MEDIUM
1
SNO PROBLEM NO PROBLEM NAME TYPE
20 57 Insert Interval MEDIUM
21 59 Spiral Matrix II MEDIUM
22 63 Unique Paths II MEDIUM
23 64 Minimum Path Sum MEDIUM
24 73 Set Matrix Zeroes MEDIUM
25 74 Search a 2D Matrix MEDIUM
26 75 Sort Colours MEDIUM
27 78 Subsets MEDIUM
28 79 Word Search MEDIUM
29 80 Remove MEDIUM
Duplicates from
Sorted Array II
30 81 Search in MEDIUM
Rotated Sorted
Array II
31 90 Subsets II MEDIUM
32 105 Construct Binary MEDIUM
Tree from Preorder
and Inorder
Traversal
33 106 Construct MEDIUM
Binary Tree
from Inorder
and
34 120 Triangle MEDIUM
35 122 Best Time to Buy MEDIUM
and Sell Stock II
36 128 Longest MEDIUM
Consecutive
Sequence
37 130 Surrounded MEDIUM
Regions
38 134 Gas Station MEDIUM
1
SNO PROBLEM NO PROBLEM NAME TYPE
39 137 Single Number II MEDIUM
40 139 Word Break MEDIUM
41 150 Evaluate MEDIUM
Reverse Polish
Notation
42 152 Maximum MEDIUM
Product
Subarray
43 153 Find Minimum in MEDIUM
Rotated Sorted
Array
44 162 Find Peak Element MEDIUM
45 164 Maximum Gap MEDIUM
46 167 Two Sum II - MEDIUM
Input Array Is
Sorted
47 179 Largest Number MEDIUM
48 189 Rotate Array MEDIUM
49 198 House Robber MEDIUM
50 200 Number of Islands MEDIUM
51 204 Count Primes MEDIUM
52 209 Minimum MEDIUM
Size
Subarray
Sum
53 213 House Robber II MEDIUM
54 215 Kth Largest MEDIUM
Element in an
Array
55 216 Combination Sum MEDIUM
III
56 221 Maximal Square MEDIUM
57 229 Majority Element II MEDIUM
1
SNO PROBLEM NO PROBLEM NAME TYPE
58 238 Product of MEDIUM
Array Except
Self
59 240 Search a 2D Matrix MEDIUM
II
60 260 Single Number III MEDIUM
61 274 H-Index MEDIUM
62 275 H-Index II MEDIUM
63 284 Peeking Iterator MEDIUM
64 287 Find the MEDIUM
Duplicate
Number
65 289 Game of Life MEDIUM
66 300 Longest MEDIUM
Increasing
Subsequence
67 304 Range Sum MEDIUM
Query 2D -
Immutable
68 307 Range Sum MEDIUM
Query - Mutable
69 309 Best Time to Buy MEDIUM
and Sell Stock with
70 313 Super Ugly MEDIUM
Number
71 318 Maximum Product MEDIUM
of Word Lengths
72 322 Coin Change MEDIUM
1
73 324 Wiggle Sort II MEDIUM
74 334 Increasing MEDIUM
Triplet
Subsequence
75 347 Top K MEDIUM
Frequent
Elements
76 368 Largest MEDIUM
Divisible
Subset
SNO PROBLEM NO PROBLEM NAME TYPE
77 376 Wiggle MEDIUM
Subsequence
78 377 Combination Sum MEDIUM
IV
79 378 Kth Smallest MEDIUM
Element in a
Sorted Matrix
80 380 Insert Delete MEDIUM
GetRandom
O(1)
81 384 Shuffle an Array MEDIUM
82 393 UTF-8 Validation MEDIUM
83 396 Rotate Function MEDIUM
84 399 Evaluate Division MEDIUM
85 406 Queue MEDIUM
Reconstruction
by Height
86 413 Arithmetic Slices MEDIUM
87 416 Partition MEDIUM
Equal Subset
Sum
88 417 Pacific Atlantic MEDIUM
Water Flow
89 419 Battleships in MEDIUM
a Board
90 421 Maximum XOR MEDIUM
of Two Numbers
in an
91 435 Non- MEDIUM
overlapping
Intervals
92 436 Find Right Interval MEDIUM
93 442 Find All Duplicates MEDIUM
1
in
1
an Array
94 447 Number of MEDIUM
Boomerangs
95 452 Minimum Number MEDIUM
of Arrows to Burst
Balloons
SNO PROBLEM NO PROBLEM NAME TYPE
96 453 Minimum Moves MEDIUM
to Equal Array
Elem
97 454 4Sum II MEDIUM
98 456 132 Pattern MEDIUM
99 457 Circular Array Loop MEDIUM
100 462 Minimum Moves MEDIUM
to Equal Array
Ele
101 573 Matchsticks MEDIUM
to Square
102 474 Ones and Zeroes MEDIUM
103 475 Heaters MEDIUM
104 477 Total MEDIUM
Hamming
Distance
105 486 Predict the Winner MEDIUM
106 491 Non- MEDIUM
decreasing
Subsequence
s
107 494 Target Sum MEDIUM
108 498 Diagonal Traverse MEDIUM
109 503 Next MEDIUM
Greater
Element II
110 518 Coin Change II MEDIUM
111 522 Longest MEDIUM
Uncommon
Subsequence II
112 523 Continuous MEDIUM
Subarray Sum
1
113 524 ongest Word in MEDIUM
Dictionary
through
Deleting
114 525 Contiguous Array MEDIUM
SNO PROBLEM NO PROBLEM NAME TYPE
115 526 Beautiful MEDIUM
Arrangement
116 529 Minesweeper MEDIUM
117 532 K-diff Pairs in MEDIUM
an Array
118 539 Minimum MEDIUM
Time
Difference
119 540 Single Element MEDIUM
in a Sorted Array
120 542 01 Matrix MEDIUM
121 553 Optimal Division MEDIUM
122 554 Brick Wall MEDIUM
123 560 Subarray MEDIUM
Sum Equals
K
124 565 Array Nesting MEDIUM
125 581 Shortest MEDIUM
Unsorted
Continuous
Subarra
126 609 Find Duplicate File MEDIUM
in System
127 611 Valid MEDIUM
Triangle
Number
128 621 Task Scheduler MEDIUM
129 636 Exclusive Time MEDIUM
of Functions
130 638 Shopping Offers MEDIUM
131 646 Maximum Length MEDIUM
of Pair Chain
1
132 648 Replace Words MEDIUM
133 654 Maximum MEDIUM
Binary Tree
SNO PROBLEM NO PROBLEM NAME TYPE
134 658 Find K MEDIUM
Closest
Elements
135 659 Split Array MEDIUM
into
Consecutive
Subsequences
136 665 Non- MEDIUM
decreasing
Array
137 667 Beautiful MEDIUM
Arrangement II
138 673 Number of MEDIUM
Longest
Increasing
Subsequence
139 690 Employee MEDIUM
Importan
ce
140 695 Max Area of Island MEDIUM
141 698 Partition to K MEDIUM
Equal Sum
Subsets
142 713 Subarray MEDIUM
Product Less
Than K
143 714 Best Time to Buy MEDIUM
and Sell Stock with
144 718 Maximum Length MEDIUM
of Repeated
Suba
145 720 Longest Word MEDIUM
in Dictionary
146 721 Accounts Merge MEDIUM
147 722 Remove Comments MEDIUM
148 735 Asteroid Collision MEDIUM
149 739 Daily Temperatures MEDIUM
150 740 Delete and Earn MEDIUM
1
151 752 Open the Lock MEDIUM
152 764 Open the Lock MEDIUM
SNO PROBLEM NO PROBLEM NAME TYPE
153 769 Max Chunks To MEDIUM
Make Sorted
154 775 Global and MEDIUM
Local
Inversions
155 781 Rabbits in Forest MEDIUM
156 786 K-th Smallest MEDIUM
Prime Fraction
157 789 Escape The Ghosts MEDIUM
158 792 Number of MEDIUM
Matching
Subsequences
159 794 Valid Tic-Tac- MEDIUM
Toe State
160 795 Number of MEDIUM
Subarrays with
Bounded
161 807 Max Increase MEDIUM
to Keep City
Skyline
162 809 Expressive Words MEDIUM
163 811 Subdomain MEDIUM
Visit Count
164 813 Largest Sum MEDIUM
of Averages
165 817 Linked List MEDIUM
Componen
ts
166 820 Short Encoding MEDIUM
of Words
167 822 Card Flipping MEDIUM
Game
168 823 Binary Trees MEDIUM
With Factors
169 825 Friends Of MEDIUM
Appropriate Ages
170 826 Most Profit MEDIUM
Assigning
2
Work
171 833 Find And Replace MEDIUM
in String
SNO PROBLEM NO PROBLEM NAME TYPE
172 835 Image Overlap MEDIUM
173 840 Magic Squares MEDIUM
In Grid
174 845 Longest Mountain MEDIUM
in Array
175 846 Hand of Straights MEDIUM
176 848 Shifting Letters MEDIUM
177 849 Maximize Distance MEDIUM
to Closest Person
178 851 Loud and Rich MEDIUM
179 852 Peak Index in MEDIUM
a Mountain
Array
180 853 Car Fleet MEDIUM
181 861 Score After MEDIUM
Flipping Matrix
182 870 Advantage Shuffle MEDIUM
183 873 Length of MEDIUM
Longest
Fibonacci
Subsequ
184 874 Walking MEDIUM
Robot
Simulation
185 875 Koko Eating MEDIUM
Bananas
186 877 Stone Game MEDIUM
187 881 Boats to Save MEDIUM
People
188 885 Spiral Matrix III MEDIUM
189 889 Construct Binary MEDIUM
Tree from
Preorder and
Postorder
Traversal
2
190 890 Find and MEDIUM
Replace
Pattern
SNO PROBLEM NO PROBLEM NAME TYPE
191 893 Groups of MEDIUM
Special-
Equivalent
Strings
192 898 Bitwise ORs MEDIUM
of Subarrays
193 900 RLE Iterator MEDIUM
194 904 Fruit Into Baskets MEDIUM
195 907 Sum of MEDIUM
Subarray
Minimums
196 909 Snakes and MEDIUM
Ladders
197 910 Smallest Range II MEDIUM
198 911 Online Election MEDIUM
199 912 Sort an Array MEDIUM
200 915 Partition Array MEDIUM
into Disjoint
Intervals
201 916 Word Subsets MEDIUM
202 918 Maximum Sum MEDIUM
Circular Subarray
203 923 3Sum MEDIUM
With
Multiplicit
y
204 930 Binary MEDIUM
Subarrays With
Sum
205 931 Minimum Falling MEDIUM
Path Sum
206 932 Beautiful Array MEDIUM
207 934 Shortest Bridge MEDIUM
208 937 Reorder Data in MEDIUM
Log Files
209 939 Minimum MEDIUM
Area
Rectangle
2
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
1. 19 19. Remove Nth Node From End of List HARD
2. 4 4. Median of Two Sorted Arrays HARD
3. 37 37. Sudoku Solver HARD
4. 41 41. First Missing Positive HARD
5. 42 42. Trapping Rain Water HARD
6. 51 51. N-Queens HARD
7. 68 68. Text Justification HARD
8. 84 84. Largest Rectangle in Histogram HARD
9. 85 85. Maximal Rectangle HARD
10. 123 123. Best Time to Buy and Sell Stock III HARD
11. 135 135. Candy HARD
12. 140 140. Word Break II HARD
13. 149 149. Max Points on a Line HARD
14. 154. Find Minimum in Rotated Sorted
154 HARD
Array II
15. 158. Read N Characters Given read4 II -
158 HARD
Call Multiple Times
16. 174 174. Dungeon Game HARD
17. 188 188. Best Time to Buy and Sell Stock IV HARD
18. 212 212. Word Search II HARD
19. 218 218. The Skyline Problem HARD
20. 220 220. Contains Duplicate III HARD
21. 239 239. Sliding Window Maximum HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
22. 248 248. Strobogrammatic Number III HARD
23. 265 265. Paint House II HARD
24. 269 269. Alien Dictionary HARD
25. 296 296. Best Meeting Point HARD
26. 302. Smallest Rectangle Enclosing Black
302 HARD
Pixels
27. 305 305. Number of Islands II HARD
28. 308 308. Range Sum Query 2D - Mutable HARD
29. 312 312. Burst Balloons HARD
30. 315. Count of Smaller Numbers After
315 HARD
Self
31. 317. Shortest Distance from All
317 HARD
Buildings
32. 327 327. Count of Range Sum HARD
33. 329 329. Longest Increasing Path in a Matrix HARD
34. 330 330. Patching Array HARD
35. 335 335. Self Crossing HARD
36. 336 336. Palindrome Pairs HARD
37. 354 354. Russian Doll Envelopes HARD
38. 363. Max Sum of Rectangle No Larger
363 HARD
Than K
39. 381. Insert Delete GetRandom O(1)
381 HARD
- Duplicates allowed
40. 391 391. Perfect Rectangle HARD
41. 403 403. Frog Jump HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
42. 407 407. Trapping Rain Water II HARD
43. 410 410. Split Array Largest Sum HARD
44. 425 425. Word Squares HARD
45. 446 446. Arithmetic Slices II - Subsequence HARD
46. 465 465. Optimal Account Balancing HARD
47. 472 472. Concatenated Words HARD
48. 480 480. Sliding Window Median HARD
49. 493 493. Reverse Pairs HARD
50. 499 499. The Maze III HARD
51. 502 502. IPO HARD
52. 517 517. Super Washing Machines HARD
53. 527 527. Word Abbreviation HARD
54. 546 546. Remove Boxes HARD
55. 548 548. Split Array with Equal Sum HARD
56. 568 568. Maximum Vacation Days HARD
57. 587 587. Erect the Fence HARD
58. 630 630. Course Schedule III HARD
59. 631 631. Design Excel Sum Formula HARD
60. 632. Smallest Range Covering Elements
632 HARD
from K Lists
61. 644 644. Maximum Average Subarray II HARD
62. 656 656. Coin Path HARD
63. 675 675. Cut Off Trees for Golf Event HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
64. 679 679. 24 Game HARD
65. 683 683. K Empty Slots HARD
66. 689. Maximum Sum of 3 Non-
689 HARD
Overlapping Subarrays
67. 691 691. Stickers to Spell Word HARD
68. 699 699. Falling Squares HARD
69. 710 710. Random Pick with Blacklist HARD
70. 719 719. Find K-th Smallest Pair Distance HARD
71. 741 741. Cherry Pickup HARD
72. 749 749. Contain Virus HARD
73. 757 757. Set Intersection Size At Least Two HARD
74. 759 759. Employee Free Time HARD
75. 768 768. Max Chunks To Make Sorted II HARD
76. 773 773. Sliding Puzzle HARD
77. 774. Minimize Max Distance to Gas
774 HARD
Station
78. 778 778. Swim in Rising Water HARD
79. 782 782. Transform to Chessboard HARD
80. 798. Smallest Rotation with Highest
798 HARD
Score
81. 801. Minimum Swaps To Make
801 HARD
Sequences Increasing
82. 803 803. Bricks Falling When Hit HARD
83. 805 805. Split Array With Same Average HARD
84. 810 810. Chalkboard XOR Game HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
85. 815 815. Bus Routes HARD
86. 827 827. Making A Large Island HARD
87. 839 839. Similar String Groups HARD
88. 843 843. Guess the Word HARD
89. 850 850. Rectangle Area II HARD
90. 857 857. Minimum Cost to Hire K Workers HARD
91. 862. Shortest Subarray with Sum at
862 HARD
Least K
92. 864 864. Shortest Path to Get All Keys HARD
93. 871. Minimum Number of Refueling
871 HARD
Stops
94. 879 879. Profitable Schemes HARD
95. 891 891. Sum of Subsequence Widths HARD
96. 902 902. Numbers At Most N Given Digit Set HARD
97. 927 927. Three Equal Parts HARD
98. 943 943. Find the Shortest Superstring HARD
99. 952. Largest Component Size by
952 HARD
Common Factor
100. 956 956. Tallest Billboard HARD
101. 960 960. Delete Columns to Make Sorted III HARD
102. 975 975. Odd Even Jump HARD
103. 980 980. Unique Paths III HARD
104. 982. Triples with Bitwise AND Equal
982 HARD
To Zero
105. 992 992. Subarrays with K Different Integers HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
106. 995. Minimum Number of K
995 HARD
Consecutive Bit Flips
107. 996 996. Number of Squareful Arrays HARD
108. 1000 1000. Minimum Cost to Merge Stones HARD
109. 1001 1001. Grid Illumination HARD
110. 1032 1032. Stream of Characters HARD
111. 1036 1036. Escape a Large Maze HARD
112. 1063 1063. Number of Valid Subarrays HARD
113. 1074. Number of Submatrices That
1074 HARD
Sum to Target
114. 1095 1095. Find in Mountain Array HARD
115. 1121. Divide Array Into Increasing
1121 HARD
Sequences
116. 1125 1125. Smallest Sufficient Team HARD
117. 1157. Online Majority Element In
1157 HARD
Subarray
118. 1178. Number of Valid Words for Each
1178 HARD
Puzzle
119. 1187 1187. Make Array Strictly Increasing HARD
120. 1199 1199. Minimum Time to Build Blocks HARD
121. 1210. Minimum Moves to Reach Target
1210 HARD
with Rotations
122. 1223 1223. Dice Roll Simulation HARD
123. 1224 1224. Maximum Equal Frequency HARD
124. 1231 1231. Divide Chocolate HARD
125. 1235 1235. Maximum Profit in Job Scheduling HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
126. 1246 1246. Palindrome Removal HARD
127. 1250 1250. Check If It Is a Good Array HARD
128. 1255. Maximum Score Words Formed
1255 HARD
by Letters
129. 1263. Minimum Moves to Move a
1263 HARD
Box to Their Target Location
130. 1274 1274. Number of Ships in a Rectangle HARD
131. 1284. Minimum Number of Flips to
1284 HARD
Convert Binary Matrix to Zero Matrix
132. 1289 1289. Minimum Falling Path Sum II HARD
133. 1293. Shortest Path in a Grid with
1293 HARD
Obstacles Elimination
134. 1298. Maximum Candies You Can Get
1298 HARD
from Boxes
135. 1301 1301. Number of Paths with Max Score HARD
136. 1307 1307. Verbal Arithmetic Puzzle HARD
137. 1326. Minimum Number of Taps to
1326 HARD
Open to Water a Garden
138. 1330. Reverse Subarray To Maximize
1330 HARD
Array Value
139. 1335. Minimum Difficulty of a Job
1335 HARD
Schedule
140. 1340 1340. Jump Game V HARD
141. 1345 1345. Jump Game IV HARD
142. 1349 1349. Maximum Students Taking Exam HARD
143. 1354. Construct Target Array With
1354 HARD
Multiple Sums
144. 1363 1363. Largest Multiple of Three HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
145. 1368. Minimum Cost to Make at Least
1368 HARD
One Valid Path in a Grid
146. 1383 1383. Maximum Performance of a Team HARD
147. 1388 1388. Pizza With 3n Slices HARD
148. 1402 1402. Reducing Dishes HARD
149. 1406 1406. Stone Game III HARD
150. 1425 1425. Constrained Subsequence Sum HARD
151. 1434. Number of Ways to Wear
1434 HARD
Different Hats to Each Other
152. 1439. Find the Kth Smallest Sum of
1439 HARD
a Matrix With Sorted Rows
153. 1444. Number of Ways of Cutting a
1444 HARD
Pizza
154. 1449. Form Largest Integer With Digits
1449 HARD
That Add up to Target
155. 1453. Maximum Number of Darts Inside
1453 HARD
of a Circular Dartboard
156. 1458. Max Dot Product of Two
1458 HARD
Subsequences
157. 1463 1463. Cherry Pickup II HARD
158. 1467. Probability of a Two Boxes Having
1467 HARD
The Same Number of Distinct Balls
159. 1473 1473. Paint House III HARD
160. 1478 1478. Allocate Mailboxes HARD
161. 1499 1499. Max Value of Equation HARD
162. 1521. Find a Value of a Mysterious
1521 HARD
Function Closest to Target
163. 1526. Minimum Number of Increments
1526 HARD
on Subarrays to Form a Target Array
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
164. 1537 1537. Get the Maximum Score HARD
165. 1547 1547. Minimum Cost to Cut a Stick HARD
166. 1563 1563. Stone Game V HARD
167. 1568. Minimum Number of Days to
1568 HARD
Disconnect Island
168. 1569. Number of Ways to Reorder Array
1569 HARD
to Get Same BST
169. 1575 1575. Count All Possible Routes HARD
170. 1591 1591. Strange Printer II HARD
171. 1595. Minimum Cost to Connect
1595 HARD
Two Groups of Points
172. 1601. Maximum Number of Achievable
1601 HARD
Transfer Requests
173. 1606. Find Servers That Handled Most
1606 HARD
Number of Requests
174. 1610. Maximum Number of Visible
1610 HARD
Points
175. 1627. Graph Connectivity With
1627 HARD
Threshold
176. 1632 1632. Rank Transform of a Matrix HARD
177. 1639. Number of Ways to Form a Target
1639 HARD
String Given a Dictionary
178. 1643 1643. Kth Smallest Instructions HARD
179. 1649. Create Sorted Array through
1649 HARD
Instructions
180.
1655 1655. Distribute Repeating Integers HARD
181. 1665. Minimum Initial Energy to Finish
1665 HARD
Tasks
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
182. 1671. Minimum Number of Removals to
1671 HARD
Make Mountain Array
183. 1675 1675. Minimize Deviation in Array HARD
184. 1681 1681. Minimum Incompatibility HARD
185. 1687. Delivering Boxes from Storage to
1687 HARD
Ports
186. 1691. Maximum Height by Stacking
1691 HARD
Cuboids
187. 1697. Checking Existence of Edge
1697 HARD
Length Limited Paths
188. 1703. Minimum Adjacent Swaps for
1703 HARD
K Consecutive Ones
189. 1707. Maximum XOR With an Element
1707 HARD
From Array
190. 1713. Minimum Operations to Make a
1713 HARD
Subsequence
191. 1714. Sum Of Special Evenly-Spaced
1714 HARD
Elements In Array
192. 1723. Find Minimum Time to Finish
1723 HARD
All Jobs
193. 1728 1728. Cat and Mouse II HARD
194. 1735. Count Ways to Make Array With
1735 HARD
Product
195. 1751. Maximum Number of Events That
1751 HARD
Can Be Attended II
196. 1755 1755. Closest Subsequence Sum HARD
197. 1770. Maximum Score from Performing
1770 HARD
Multiplication Operations
198. 1776 1776. Car Fleet II HARD
199. 1782 1782. Count Pairs Of Nodes HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
200. 1787. Make the XOR of All Segments
1787 HARD
Equal to Zero
201. 1788. Maximize the Beauty of the
1788 HARD
Garden
202. 1793. Maximum Score of a Good
1793 HARD
Subarray
203. 1799. Maximize Score After N
1799 HARD
Operations
204. 1803 1803. Count Pairs With XOR in a Range HARD
205. 1815. Maximum Number of Groups
1815 HARD
Getting Fresh Donuts
206. 1819. Number of Different
1819 HARD
Subsequences GCDs
207. 1835. Find XOR Sum of All Pairs Bitwise
1835 HARD
AND
208. 1840 1840. Maximum Building Height HARD
209. 1847 1847. Closest Room HARD
210. 1851. Minimum Interval to Include
1851 HARD
Each Query
211. 1862 1862. Sum of Floored Pairs HARD
212. 1872 1872. Stone Game VIII HARD
213. 1879 1879. Minimum XOR Sum of Two Arrays HARD
214. 1883. Minimum Skips to Arrive at
1883 HARD
Meeting On Time
215. 1889. Minimum Space Wasted From
1889 HARD
Packaging
216. 1912 1912. Design Movie Rental System HARD
217. 1923 1923. Longest Common Subpath HARD
218. 1924 1924. Erect the Fence II HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
219. 1938. Maximum Genetic Difference
1938 HARD
Query
220. 1944. Number of Visible People in a
1944 HARD
Queue
221. 1948. Delete Duplicate Folders in
1948 HARD
System
222. 1955. Count Number of Special
1955 HARD
Subsequences
223. 1956. Minimum Time For K Virus
1956 HARD
Variants to Spread
224. 1964. Find the Longest Valid
1964 HARD
Obstacle Course at Each Position
225. 1970. Last Day Where You Can Still
1970 HARD
Cross
226. 1982 1982. Find Array Given Subset Sums HARD
227. 1994 1994. The Number of Good Subsets HARD
228. 1998 1998. GCD Sort of an Array HARD
229. 2009. Minimum Number of Operations
2009 HARD
to Make Array Continuous
230. 2019. The Score of Students Solving
2019 HARD
Math Expression
231. 2025. Maximum Number of Ways to
2025 HARD
Partition an Array
232. 2035. Partition Array Into Two Arrays
2035 HARD
to Minimize Sum Difference
233. 2040. Kth Smallest Product of
2040 HARD
Two Sorted Arrays
234. 2050 2050. Parallel Courses III HARD
235. 2056. Number of Valid Move
2056 HARD
Combinations On Chessboard
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
236. 2065 2065. Maximum Path Quality of a Graph HARD
237. 2071. Maximum Number of Tasks You
2071 HARD
Can Assign
238. 2088 2088. Count Fertile Pyramids in a Land HARD
239. 2106. Maximum Fruits Harvested After
2106 HARD
at Most K Steps
240. 2111. Minimum Operations to Make the
2111 HARD
Array K-Increasing
241. 2122 2122. Recover the Original Array HARD
242. 2123. Minimum Operations to Remove
2123 HARD
Adjacent Ones in Matrix
243. 2132 2132. Stamping the Grid HARD
244. 2136 2136. Earliest Possible Day of Full Bloom HARD
245. 2141. Maximum Running Time of N
2141 HARD
Computers
246. 2143. Choose Numbers From Two
2143 HARD
Arrays in Range
247. 2151. Maximum Good People Based on
2151 HARD
Statements
248. 2158. Amount of New Area Painted
2158 HARD
Each Day
249. 2163. Minimum Difference in Sums
2163 HARD
After Removal of Elements
250. 2172 2172. Maximum AND Sum of Array HARD
251. 2179 2179. Count Good Triplets in an Array HARD
252. 2183 2183. Count Array Pairs Divisible by K HARD
253. 2188 2188. Minimum Time to Finish the Race HARD
254. 2197. Replace Non-Coprime Numbers in
2197 HARD
Array
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
255. 2213. Longest Substring of One
2213 HARD
Repeating Character
256. 2218. Maximum Value of K Coins From
2218 HARD
Piles
257. 2227 2227. Encrypt and Decrypt Strings HARD
258. 2234. Maximum Total Beauty of the
2234 HARD
Gardens
259. 2242. Maximum Score of a Node
2242 HARD
Sequence
260. 2246. Longest Path With Different
2246 HARD
Adjacent Characters
261. 2251 2251. Number of Flowers in Full Bloom HARD
262. 2258 2258. Escape the Spreading Fire HARD
263. 2267. Check if There Is a Valid
2267 HARD
Parentheses String Path
264. 2272 2272. Substring With Largest Variance HARD
265. 2277 2277. Closest Node to Path in Tree HARD
266. 2281 2281. Sum of Total Strength of Wizards HARD
267. 2290. Minimum Obstacle Removal to
2290 HARD
Reach Corner
268. 2301. Match Substring After
2301 HARD
Replacement
269. 2302. Count Subarrays With Score Less
2302 HARD
Than K
270. 2306 2306. Naming a Company HARD
271. 2307. Check for Contradictions in
2307 HARD
Equations
272. 2312 2312. Selling Pieces of Wood HARD
273. 2321 2321. Maximum Score Of Spliced Array HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
274. 2322. Minimum Score After Removals
2322 HARD
on a Tree
275. 2328. Number of Increasing Paths in a
2328 HARD
Grid
276. 2334. Subarray With Elements Greater
2334 HARD
Than Varying Threshold
277. 2344. Minimum Deletions to Make
2344 HARD
Array Divisible
278. 2350. Shortest Impossible Sequence of
2350 HARD
Rolls
279. 2354 2354. Number of Excellent Pairs HARD
280. 2355. Maximum Number of Books You
2355 HARD
Can Take
281. 2361. Minimum Costs Using the
2361 HARD
Train Line
282. 2366. Minimum Replacements to Sort
2366 HARD
the Array
283. 2371. Minimize Maximum Value in a
2371 HARD
Grid
284. 2382. Maximum Segment Sum After
2382 HARD
Removals
285. 2386 2386. Find the K-Sum of an Array HARD
286. 2392 2392. Build a Matrix With Conditions HARD
287. 2398. Maximum Number of Robots
2398 HARD
Within Budget
288. 2402 2402. Meeting Rooms III HARD
289. 2403. Minimum Time to Kill All
2403 HARD
Monsters
290. 2407 2407. Longest Increasing Subsequence II HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
291. 2412. Minimum Money Required
2412 HARD
Before Transactions
292. 2416 2416. Sum of Prefix Scores of Strings HARD
293. 2421 2421. Number of Good Paths HARD
294. 2426. Number of Pairs Satisfying
2426 HARD
Inequality
295. 2435. Paths in Matrix Whose Sum Is
2435 HARD
Divisible by K
296. 2440. Create Components With Same
2440 HARD
Value
297. 2444. Count Subarrays With Fixed
2444 HARD
Bounds
298. 2448. Minimum Cost to Make Array
2448 HARD
Equal
299. 2449. Minimum Number of Operations
2449 HARD
to Make Arrays Similar
300. 2454 2454. Next Greater Element IV HARD
301. 2458. Height of Binary Tree After
2458 HARD
Subtree Removal Queries
302. 2459. Sort Array by Moving Items to
2459 HARD
Empty Space
303. 2463 2463. Minimum Total Distance Traveled HARD
304. 2488 2488. Count Subarrays With Median K HARD
305. 2499. Minimum Total Cost to Make
2499 HARD
Arrays Unequal
306. 2503. Maximum Number of Points From
2503 HARD
Grid Queries
307. 2518 2518. Number of Great Partitions HARD
308. 2519. Count the Number of K-Big
2519 HARD
Indices
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
309. 2524. Maximum Frequency Score of a
2524 HARD
Subarray
310. 2528. Maximize the Minimum Powered
2528 HARD
City
311. 2532 2532. Time to Cross a Bridge HARD
312. 2534 2534. Time Taken to Cross the Door HARD
313. 2538. Difference Between Maximum
2538 HARD
and Minimum Price Sum
314. 2547 2547. Minimum Cost to Split an Array HARD
315. 2551 2551. Put Marbles in Bags HARD
316. 2552 2552. Count Increasing Quadruplets HARD
317. 2561 2561. Rearranging Fruits HARD
318. 2569. Handling Sum Queries After
2569 HARD
Update
319. 2573 2573. Find the String with LCP HARD
320. 2577. Minimum Time to Visit a Cell In
2577 HARD
a Grid
321. 2584. Split the Array to Make Coprime
2584 HARD
Products
322. 2585 2585. Number of Ways to Earn Points HARD
323. 2589. Minimum Time to Complete All
2589 HARD
Tasks
324. 2603 2603. Collect Coins in a Tree HARD
325. 2604 2604. Minimum Time to Eat All Grains HARD
326. 2612 2612. Minimum Reverse Operations HARD
327. 2613 2613. Beautiful Pairs HARD
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
328. 2617. Minimum Number of Visited Cells
2617 HARD
in a Grid
329. 2646. Minimize the Total Price of
2646 HARD
the Trips
330. 2647 2647. Color the Triangle Red HARD
331. 2659 2659. Make Array Empty HARD
332. 2681 2681. Power of Heroes HARD
333. 2702. Minimum Operations to Make
2702 HARD
Numbers Non-positive
334. 2709. Greatest Common Divisor
2709 HARD
Traversal
335. 2713. Maximum Strictly Increasing Cells
2713 HARD
in a Matrix
336. 2732 2732. Find a Good Subset of the Matrix HARD
337. 2736 2736. Maximum Sum Queries HARD
338. 2742 2742. Painting the Walls HARD
339. 2751 2751. Robot Collisions HARD
340. 2763. Sum of Imbalance Numbers of All
2763 HARD
Subarrays
341. 2781. Length of the Longest Valid
2781 HARD
Substring
342. 2790. Maximum Number of Groups
2790 HARD
With Increasing Length
343. 2809. Minimum Time to Make Array
2809 HARD
Sum At Most x
344. 2813. Maximum Elegance of a K-Length
2813 HARD
Subsequence
345. 2814. Minimum Time Takes to Reach
2814 HARD
Destination Without Drowning
ARRAY HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
346. 2818. Apply Operations to Maximize
2818 HARD
Score
347. 2819. Minimum Relative Loss After
2819 HARD
Buying Chocolates
348. 2835. Minimum Operations to Form
2835 HARD
Subsequence With Target Sum
349. 2836. Maximize Value of Function in
2836 HARD
a Ball Passing Game
350. 2846. Minimum Edge Weight
2846 HARD
Equilibrium Queries in a Tree
351. 2862. Maximum Element-Sum of a
2862 HARD
Complete Subset of Indices
352. 2868 2868. The Wording Game HARD
353. 2897. Apply Operations on Array to
2897 HARD
Maximize Sum of Squares
354. 2902. Count of Sub-Multisets With
2902 HARD
Bounded Sum
355. 2916. Subarrays Distinct Element Sum
2916 HARD
of Squares II
356. 2920. Maximum Points After Collecting
2920 HARD
Coins From All Nodes
357. 2921. Maximum Profitable Triplets With
2921 HARD
Increasing Prices II
358. 2926. Maximum Balanced Subsequence
2926 HARD
Sum
359. 2931. Maximum Spending After Buying
2931 HARD
Items
360. 2935 2935. Maximum Strong Pair XOR II HARD
361. 2940. Find Building Where Alice and
2940 HARD
Bob Can Meet
362. 2941 2941. Maximum GCD-Sum of a Subarray HARD
SN0 PROBLEM NO PROBLEM NAME TYPE
363. 2945. Find Maximum Non-decreasing
2945 HARD
Array Length
ARRAY HARD
364. 2954. Count the Number of Infection
2954 HARD
Sequences
365. 2963. Count the Number of Good
2963 HARD
Partitions
366. 2968. Apply Operations to Maximize
2968 HARD
Frequency Score
367. 2969. Minimum Number of Coins for
2969 HARD
Fruits II
368. 2972. Count the Number of
2972 HARD
Incremovable Subarrays II
369. 2977 2977. Minimum Cost to Convert String II HARD
370. 3009. Maximum Number of
3009 HARD
Intersections on the Chart
371. 3013. Divide an Array Into Subarrays
3013 HARD
With Minimum Cost II
372. 3018. Maximum Number of Removal
3018 HARD
Queries That Can Be Processed I
373. 3022. Minimize OR of Remaining
3022 HARD
Elements Using Operations
374. 3027. Find the Number of Ways to Place
3027 HARD
People II
375. 3036. Number of Subarrays That Match
3036 HARD
a Pattern II
376. 3037 3037. Find Pattern in Infinite Stream II HARD
377. 3041. Maximize Consecutive Elements
3041 HARD
in an Array After Modification
378. 3045 3045. Count Prefix and Suffix Pairs II HARD
379. 3049 3049. Earliest Second to Mark Indices II HARD