Skip to content

hwennnn/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Leetcode Solutions

As of 20 Feb 2023, this repo is no longer actively maintained.

LeetCode user hwennn

  • 🟒: Easy
  • 🟠: Medium
  • πŸ”΄: Hard
ID Question Difficulty Solution
βœ… 1 Two Sum 🟒 py
βœ… 2 Add Two Numbers 🟠 py
cpp
βœ… 3 Longest Substring Without Repeating Characters 🟠 py
βœ… 4 Median of Two Sorted Arrays πŸ”΄ py
βœ… 5 Longest Palindromic Substring 🟠 py
βœ… 6 Zigzag Conversion 🟠 py
βœ… 7 Reverse Integer 🟠 py
βœ… 8 String to Integer (atoi) 🟠 py
βœ… 9 Palindrome Number 🟒 py
10 Regular Expression Matching πŸ”΄
βœ… 11 Container With Most Water 🟠 py
βœ… 12 Integer to Roman 🟠 py
βœ… 13 Roman to Integer 🟒 py
βœ… 14 Longest Common Prefix 🟒 py
βœ… 15 3Sum 🟠 py
cpp
βœ… 16 3Sum Closest 🟠 py
βœ… 17 Letter Combinations of a Phone Number 🟠 py
βœ… 18 4Sum 🟠 py
βœ… 19 Remove Nth Node From End of List 🟠 py
βœ… 20 Valid Parentheses 🟒 py
βœ… 21 Merge Two Sorted Lists 🟒 py
cpp
βœ… 22 Generate Parentheses 🟠 py
βœ… 23 Merge k Sorted Lists πŸ”΄ py
βœ… 24 Swap Nodes in Pairs 🟠 py
βœ… 25 Reverse Nodes in k-Group πŸ”΄ py
βœ… 26 Remove Duplicates from Sorted Array 🟒 py
βœ… 27 Remove Element 🟒 py
βœ… 28 Find the Index of the First Occurrence in a String 🟠 py
java
βœ… 29 Divide Two Integers 🟠 py
βœ… 30 Substring with Concatenation of All Words πŸ”΄ cpp
βœ… 31 Next Permutation 🟠 py
βœ… 32 Longest Valid Parentheses πŸ”΄ py
βœ… 33 Search in Rotated Sorted Array 🟠 py
βœ… 34 Find First and Last Position of Element in Sorted Array 🟠 py
βœ… 35 Search Insert Position 🟒 py
βœ… 36 Valid Sudoku 🟠 py
βœ… 37 Sudoku Solver πŸ”΄ py
βœ… 38 Count and Say 🟠 py
βœ… 39 Combination Sum 🟠 py
βœ… 40 Combination Sum II 🟠 py
βœ… 41 First Missing Positive πŸ”΄ py
cpp
βœ… 42 Trapping Rain Water πŸ”΄ py
βœ… 43 Multiply Strings 🟠 py
44 Wildcard Matching πŸ”΄
βœ… 45 Jump Game II 🟠 py
βœ… 46 Permutations 🟠 py
βœ… 47 Permutations II 🟠 py
βœ… 48 Rotate Image 🟠 py
βœ… 49 Group Anagrams 🟠 py
βœ… 50 Pow(x, n) 🟠 py
βœ… 51 N-Queens πŸ”΄ py
βœ… 52 N-Queens II πŸ”΄ py
βœ… 53 Maximum Subarray 🟠 py
βœ… 54 Spiral Matrix 🟠 py
βœ… 55 Jump Game 🟠 py
βœ… 56 Merge Intervals 🟠 py
βœ… 57 Insert Interval 🟠 py
βœ… 58 Length of Last Word 🟒 py
βœ… 59 Spiral Matrix II 🟠 py
60 Permutation Sequence πŸ”΄
βœ… 61 Rotate List 🟠 py
βœ… 62 Unique Paths 🟠 py
βœ… 63 Unique Paths II 🟠 py
βœ… 64 Minimum Path Sum 🟠 py
βœ… 65 Valid Number πŸ”΄ py
java
βœ… 66 Plus One 🟒 py
βœ… 67 Add Binary 🟒 py
68 Text Justification πŸ”΄
βœ… 69 Sqrt(x) 🟒 py
βœ… 70 Climbing Stairs 🟒 py
βœ… 71 Simplify Path 🟠 py
βœ… 72 Edit Distance πŸ”΄ py
βœ… 73 Set Matrix Zeroes 🟠 py
βœ… 74 Search a 2D Matrix 🟠 py
βœ… 75 Sort Colors 🟠 py
βœ… 76 Minimum Window Substring πŸ”΄ py
βœ… 77 Combinations 🟠 py
βœ… 78 Subsets 🟠 py
cpp
βœ… 79 Word Search 🟠 py
βœ… 80 Remove Duplicates from Sorted Array II 🟠 py
βœ… 81 Search in Rotated Sorted Array II 🟠 py
βœ… 82 Remove Duplicates from Sorted List II 🟠 py
βœ… 83 Remove Duplicates from Sorted List 🟒 py
cpp
βœ… 84 Largest Rectangle in Histogram πŸ”΄ py
βœ… 85 Maximal Rectangle πŸ”΄ py
βœ… 86 Partition List 🟠 py
87 Scramble String πŸ”΄
βœ… 88 Merge Sorted Array 🟒 py
βœ… 89 Gray Code 🟠 py
βœ… 90 Subsets II 🟠 py
cpp
βœ… 91 Decode Ways 🟠 py
βœ… 92 Reverse Linked List II 🟠 py
cpp
βœ… 93 Restore IP Addresses 🟠 py
βœ… 94 Binary Tree Inorder Traversal 🟒 py
cpp
βœ… 95 Unique Binary Search Trees II 🟠 py
βœ… 96 Unique Binary Search Trees 🟠 py
βœ… 97 Interleaving String 🟠 py
βœ… 98 Validate Binary Search Tree 🟠 py
βœ… 99 Recover Binary Search Tree 🟠 py
βœ… 100 Same Tree 🟒 py
βœ… 101 Symmetric Tree 🟒 py
βœ… 102 Binary Tree Level Order Traversal 🟠 py
cpp
βœ… 103 Binary Tree Zigzag Level Order Traversal 🟠 py
βœ… 104 Maximum Depth of Binary Tree 🟒 py
cpp
βœ… 105 Construct Binary Tree from Preorder and Inorder Traversal 🟠 py
βœ… 106 Construct Binary Tree from Inorder and Postorder Traversal 🟠 py
βœ… 107 Binary Tree Level Order Traversal II 🟠 py
βœ… 108 Convert Sorted Array to Binary Search Tree 🟒 py
βœ… 109 Convert Sorted List to Binary Search Tree 🟠 py
βœ… 110 Balanced Binary Tree 🟒 py
cpp
βœ… 111 Minimum Depth of Binary Tree 🟒 py
βœ… 112 Path Sum 🟒 py
βœ… 113 Path Sum II 🟠 py
βœ… 114 Flatten Binary Tree to Linked List 🟠 py
βœ… 115 Distinct Subsequences πŸ”΄ py
βœ… 116 Populating Next Right Pointers in Each Node 🟠 py
βœ… 117 Populating Next Right Pointers in Each Node II 🟠 py
βœ… 118 Pascal's Triangle 🟒 py
java
βœ… 119 Pascal's Triangle II 🟒 py
cpp
βœ… 120 Triangle 🟠 py
βœ… 121 Best Time to Buy and Sell Stock 🟒 py
βœ… 122 Best Time to Buy and Sell Stock II 🟠 py
βœ… 123 Best Time to Buy and Sell Stock III πŸ”΄ py
βœ… 124 Binary Tree Maximum Path Sum πŸ”΄ py
βœ… 125 Valid Palindrome 🟒 py
βœ… 126 Word Ladder II πŸ”΄ py
cpp
βœ… 127 Word Ladder πŸ”΄ py
βœ… 128 Longest Consecutive Sequence 🟠 py
βœ… 129 Sum Root to Leaf Numbers 🟠 py
βœ… 130 Surrounded Regions 🟠 py
βœ… 131 Palindrome Partitioning 🟠 py
βœ… 132 Palindrome Partitioning II πŸ”΄ py
βœ… 133 Clone Graph 🟠 py
βœ… 134 Gas Station 🟠 py
βœ… 135 Candy πŸ”΄ py
βœ… 136 Single Number 🟒 py
βœ… 137 Single Number II 🟠 py
βœ… 138 Copy List with Random Pointer 🟠 py
βœ… 139 Word Break 🟠 py
140 Word Break II πŸ”΄
βœ… 141 Linked List Cycle 🟒 py
cpp
βœ… 142 Linked List Cycle II 🟠 py
βœ… 143 Reorder List 🟠 py
βœ… 144 Binary Tree Preorder Traversal 🟒 py
cpp
βœ… 145 Binary Tree Postorder Traversal 🟒 py
cpp
βœ… 146 LRU Cache 🟠 py
βœ… 147 Insertion Sort List 🟠 py
βœ… 148 Sort List 🟠 py
βœ… 149 Max Points on a Line πŸ”΄ py
βœ… 150 Evaluate Reverse Polish Notation 🟠 py
βœ… 151 Reverse Words in a String 🟠 py
βœ… 152 Maximum Product Subarray 🟠 py
cpp
βœ… 153 Find Minimum in Rotated Sorted Array 🟠 py
βœ… 154 Find Minimum in Rotated Sorted Array II πŸ”΄ py
βœ… 155 Min Stack 🟠 py
πŸ”’ 156 Binary Tree Upside Down 🟠
πŸ”’ 157 Read N Characters Given Read4 🟒
πŸ”’ 158 Read N Characters Given read4 II - Call Multiple Times πŸ”΄
πŸ”’ 159 Longest Substring with At Most Two Distinct Characters 🟠
βœ… 160 Intersection of Two Linked Lists 🟒 py
cpp
πŸ”’ 161 One Edit Distance 🟠
βœ… 162 Find Peak Element 🟠 py
πŸ”’ 163 Missing Ranges 🟒
βœ… 164 Maximum Gap πŸ”΄ py
βœ… 165 Compare Version Numbers 🟠 py
166 Fraction to Recurring Decimal 🟠
βœ… 167 Two Sum II - Input Array Is Sorted 🟠 py
168 Excel Sheet Column Title 🟒
βœ… 169 Majority Element 🟒 py
πŸ”’ 170 Two Sum III - Data structure design 🟒
βœ… 171 Excel Sheet Column Number 🟒 py
βœ… 172 Factorial Trailing Zeroes 🟠 java
βœ… 173 Binary Search Tree Iterator 🟠 py
βœ… 174 Dungeon Game πŸ”΄ py
java
175 Combine Two Tables 🟒
176 Second Highest Salary 🟠
177 Nth Highest Salary 🟠
178 Rank Scores 🟠
βœ… 179 Largest Number 🟠 py
180 Consecutive Numbers 🟠
181 Employees Earning More Than Their Managers 🟒
182 Duplicate Emails 🟒
183 Customers Who Never Order 🟒
184 Department Highest Salary 🟠
185 Department Top Three Salaries πŸ”΄
πŸ”’ 186 Reverse Words in a String II 🟠
βœ… 187 Repeated DNA Sequences 🟠 py
βœ… 188 Best Time to Buy and Sell Stock IV πŸ”΄ py
βœ… 189 Rotate Array 🟠 py
cpp
βœ… 190 Reverse Bits 🟒 py
βœ… 191 Number of 1 Bits 🟒 py
192 Word Frequency 🟠
193 Valid Phone Numbers 🟒
194 Transpose File 🟠
195 Tenth Line 🟒
196 Delete Duplicate Emails 🟒
197 Rising Temperature 🟒
βœ… 198 House Robber 🟠 py
βœ… 199 Binary Tree Right Side View 🟠 py
βœ… 200 Number of Islands 🟠 py
βœ… 201 Bitwise AND of Numbers Range 🟠 py
βœ… 202 Happy Number 🟒 py
βœ… 203 Remove Linked List Elements 🟒 py
cpp
βœ… 204 Count Primes 🟠 py
cpp
βœ… 205 Isomorphic Strings 🟒 py
βœ… 206 Reverse Linked List 🟒 py
cpp
βœ… 207 Course Schedule 🟠 py
βœ… 208 Implement Trie (Prefix Tree) 🟠 py
βœ… 209 Minimum Size Subarray Sum 🟠 py
βœ… 210 Course Schedule II 🟠 py
βœ… 211 Design Add and Search Words Data Structure 🟠 py
βœ… 212 Word Search II πŸ”΄ py
cpp
βœ… 213 House Robber II 🟠 py
cpp
214 Shortest Palindrome πŸ”΄
βœ… 215 Kth Largest Element in an Array 🟠 py
βœ… 216 Combination Sum III 🟠 py
βœ… 217 Contains Duplicate 🟒 py
βœ… 218 The Skyline Problem πŸ”΄ py
βœ… 219 Contains Duplicate II 🟒 py
βœ… 220 Contains Duplicate III πŸ”΄ py
βœ… 221 Maximal Square 🟠 py
βœ… 222 Count Complete Tree Nodes 🟠 py
βœ… 223 Rectangle Area 🟠 py
βœ… 224 Basic Calculator πŸ”΄ py
βœ… 225 Implement Stack using Queues 🟒 py
βœ… 226 Invert Binary Tree 🟒 py
βœ… 227 Basic Calculator II 🟠 py
βœ… 228 Summary Ranges 🟒 py
βœ… 229 Majority Element II 🟠 py
βœ… 230 Kth Smallest Element in a BST 🟠 py
βœ… 231 Power of Two 🟒 py
βœ… 232 Implement Queue using Stacks 🟒 py
βœ… 233 Number of Digit One πŸ”΄ py
βœ… 234 Palindrome Linked List 🟒 py
cpp
βœ… 235 Lowest Common Ancestor of a Binary Search Tree 🟠 py
βœ… 236 Lowest Common Ancestor of a Binary Tree 🟠 py
βœ… 237 Delete Node in a Linked List 🟠 py
cpp
βœ… 238 Product of Array Except Self 🟠 py
βœ… 239 Sliding Window Maximum πŸ”΄ py
cpp
βœ… 240 Search a 2D Matrix II 🟠 py
βœ… 241 Different Ways to Add Parentheses 🟠 py
βœ… 242 Valid Anagram 🟒 py
πŸ”’ 243 Shortest Word Distance 🟒
πŸ”’ 244 Shortest Word Distance II 🟠
πŸ”’ 245 Shortest Word Distance III 🟠
πŸ”’ 246 Strobogrammatic Number 🟒
πŸ”’ 247 Strobogrammatic Number II 🟠
πŸ”’ 248 Strobogrammatic Number III πŸ”΄
πŸ”’ 249 Group Shifted Strings 🟠
πŸ”’ 250 Count Univalue Subtrees 🟠
πŸ”’ 251 Flatten 2D Vector 🟠
πŸ”’ 252 Meeting Rooms 🟒
πŸ”’ 253 Meeting Rooms II 🟠
πŸ”’ 254 Factor Combinations 🟠
πŸ”’ 255 Verify Preorder Sequence in Binary Search Tree 🟠
πŸ”’ 256 Paint House 🟠
257 Binary Tree Paths 🟒
βœ… 258 Add Digits 🟒 py
πŸ”’ 259 3Sum Smaller 🟠
βœ… 260 Single Number III 🟠 py
πŸ”’ 261 Graph Valid Tree 🟠
262 Trips and Users πŸ”΄
βœ… 263 Ugly Number 🟒 py
βœ… 264 Ugly Number II 🟠 py
πŸ”’ 265 Paint House II πŸ”΄
πŸ”’ 266 Palindrome Permutation 🟒
πŸ”’ 267 Palindrome Permutation II 🟠
βœ… 268 Missing Number 🟒 py
πŸ”’ 269 Alien Dictionary πŸ”΄
πŸ”’ 270 Closest Binary Search Tree Value 🟒
πŸ”’ 271 Encode and Decode Strings 🟠
πŸ”’ 272 Closest Binary Search Tree Value II πŸ”΄
273 Integer to English Words πŸ”΄
βœ… 274 H-Index 🟠 cpp
βœ… 275 H-Index II 🟠 py
πŸ”’ 276 Paint Fence 🟠
πŸ”’ 277 Find the Celebrity 🟠
βœ… 278 First Bad Version 🟒 py
βœ… 279 Perfect Squares 🟠 py
cpp
πŸ”’ 280 Wiggle Sort 🟠
πŸ”’ 281 Zigzag Iterator 🟠
βœ… 282 Expression Add Operators πŸ”΄ py
βœ… 283 Move Zeroes 🟒 py
βœ… 284 Peeking Iterator 🟠 py
πŸ”’ 285 Inorder Successor in BST 🟠
πŸ”’ 286 Walls and Gates 🟠
βœ… 287 Find the Duplicate Number 🟠 py
πŸ”’ 288 Unique Word Abbreviation 🟠
βœ… 289 Game of Life 🟠 py
βœ… 290 Word Pattern 🟒 py
πŸ”’ 291 Word Pattern II 🟠
βœ… 292 Nim Game 🟒 py
πŸ”’ 293 Flip Game 🟒
πŸ”’ 294 Flip Game II 🟠
βœ… 295 Find Median from Data Stream πŸ”΄ py
πŸ”’ 296 Best Meeting Point πŸ”΄
βœ… 297 Serialize and Deserialize Binary Tree πŸ”΄ py
πŸ”’ 298 Binary Tree Longest Consecutive Sequence 🟠
βœ… 299 Bulls and Cows 🟠 py
βœ… 300 Longest Increasing Subsequence 🟠 py
301 Remove Invalid Parentheses πŸ”΄
πŸ”’ 302 Smallest Rectangle Enclosing Black Pixels πŸ”΄
βœ… 303 Range Sum Query - Immutable 🟒 py
βœ… 304 Range Sum Query 2D - Immutable 🟠 py
πŸ”’ 305 Number of Islands II πŸ”΄
306 Additive Number 🟠
βœ… 307 Range Sum Query - Mutable 🟠 py
πŸ”’ 308 Range Sum Query 2D - Mutable πŸ”΄
βœ… 309 Best Time to Buy and Sell Stock with Cooldown 🟠 py
βœ… 310 Minimum Height Trees 🟠 py
πŸ”’ 311 Sparse Matrix Multiplication 🟠
βœ… 312 Burst Balloons πŸ”΄ py
java
313 Super Ugly Number 🟠
πŸ”’ 314 Binary Tree Vertical Order Traversal 🟠
βœ… 315 Count of Smaller Numbers After Self πŸ”΄ py
βœ… 316 Remove Duplicate Letters 🟠 py
πŸ”’ 317 Shortest Distance from All Buildings πŸ”΄
βœ… 318 Maximum Product of Word Lengths 🟠 py
319 Bulb Switcher 🟠
πŸ”’ 320 Generalized Abbreviation 🟠
321 Create Maximum Number πŸ”΄
βœ… 322 Coin Change 🟠 py
πŸ”’ 323 Number of Connected Components in an Undirected Graph 🟠
324 Wiggle Sort II 🟠
πŸ”’ 325 Maximum Size Subarray Sum Equals k 🟠
βœ… 326 Power of Three 🟒 py
327 Count of Range Sum πŸ”΄
βœ… 328 Odd Even Linked List 🟠 py
βœ… 329 Longest Increasing Path in a Matrix πŸ”΄ py
βœ… 330 Patching Array πŸ”΄ py
βœ… 331 Verify Preorder Serialization of a Binary Tree 🟠 py
βœ… 332 Reconstruct Itinerary πŸ”΄ py
πŸ”’ 333 Largest BST Subtree 🟠
βœ… 334 Increasing Triplet Subsequence 🟠 py
335 Self Crossing πŸ”΄
βœ… 336 Palindrome Pairs πŸ”΄ py
βœ… 337 House Robber III 🟠 py
βœ… 338 Counting Bits 🟒 py
πŸ”’ 339 Nested List Weight Sum 🟠
πŸ”’ 340 Longest Substring with At Most K Distinct Characters 🟠
βœ… 341 Flatten Nested List Iterator 🟠 py
java
βœ… 342 Power of Four 🟒 py
βœ… 343 Integer Break 🟠 py
cpp
βœ… 344 Reverse String 🟒 py
βœ… 345 Reverse Vowels of a String 🟒 py
πŸ”’ 346 Moving Average from Data Stream 🟒
βœ… 347 Top K Frequent Elements 🟠 py
cpp
πŸ”’ 348 Design Tic-Tac-Toe 🟠
βœ… 349 Intersection of Two Arrays 🟒 py
βœ… 350 Intersection of Two Arrays II 🟒 py
πŸ”’ 351 Android Unlock Patterns 🟠
βœ… 352 Data Stream as Disjoint Intervals πŸ”΄ py
πŸ”’ 353 Design Snake Game 🟠
βœ… 354 Russian Doll Envelopes πŸ”΄ py
βœ… 355 Design Twitter 🟠 py
πŸ”’ 356 Line Reflection 🟠
βœ… 357 Count Numbers with Unique Digits 🟠 py
πŸ”’ 358 Rearrange String k Distance Apart πŸ”΄
πŸ”’ 359 Logger Rate Limiter 🟒
πŸ”’ 360 Sort Transformed Array 🟠
πŸ”’ 361 Bomb Enemy 🟠
πŸ”’ 362 Design Hit Counter 🟠
βœ… 363 Max Sum of Rectangle No Larger Than K πŸ”΄ py
πŸ”’ 364 Nested List Weight Sum II 🟠
βœ… 365 Water and Jug Problem 🟠 py
πŸ”’ 366 Find Leaves of Binary Tree 🟠
βœ… 367 Valid Perfect Square 🟒 py
βœ… 368 Largest Divisible Subset 🟠 py
πŸ”’ 369 Plus One Linked List 🟠
πŸ”’ 370 Range Addition 🟠
371 Sum of Two Integers 🟠
372 Super Pow 🟠
βœ… 373 Find K Pairs with Smallest Sums 🟠 py
βœ… 374 Guess Number Higher or Lower 🟒 py
375 Guess Number Higher or Lower II 🟠
βœ… 376 Wiggle Subsequence 🟠 py
βœ… 377 Combination Sum IV 🟠 py
βœ… 378 Kth Smallest Element in a Sorted Matrix 🟠 py
πŸ”’ 379 Design Phone Directory 🟠
βœ… 380 Insert Delete GetRandom O(1) 🟠 py
βœ… 381 Insert Delete GetRandom O(1) - Duplicates allowed πŸ”΄ py
βœ… 382 Linked List Random Node 🟠 py
cpp
βœ… 383 Ransom Note 🟒 py
βœ… 384 Shuffle an Array 🟠 py
385 Mini Parser 🟠
386 Lexicographical Numbers 🟠
βœ… 387 First Unique Character in a String 🟒 py
388 Longest Absolute File Path 🟠
βœ… 389 Find the Difference 🟒 py
390 Elimination Game 🟠
391 Perfect Rectangle πŸ”΄
βœ… 392 Is Subsequence 🟒 py
βœ… 393 UTF-8 Validation 🟠 py
βœ… 394 Decode String 🟠 py
βœ… 395 Longest Substring with At Least K Repeating Characters 🟠 py
396 Rotate Function 🟠
397 Integer Replacement 🟠
398 Random Pick Index 🟠
βœ… 399 Evaluate Division 🟠 py
400 Nth Digit 🟠
401 Binary Watch 🟒
βœ… 402 Remove K Digits 🟠 py
403 Frog Jump πŸ”΄
βœ… 404 Sum of Left Leaves 🟒 py
405 Convert a Number to Hexadecimal 🟒
βœ… 406 Queue Reconstruction by Height 🟠 py
βœ… 407 Trapping Rain Water II πŸ”΄ py
πŸ”’ 408 Valid Word Abbreviation 🟒
βœ… 409 Longest Palindrome 🟒 py
βœ… 410 Split Array Largest Sum πŸ”΄ py
πŸ”’ 411 Minimum Unique Word Abbreviation πŸ”΄
βœ… 412 Fizz Buzz 🟒 py
βœ… 413 Arithmetic Slices 🟠 py
βœ… 414 Third Maximum Number 🟒 py
βœ… 415 Add Strings 🟒 py
βœ… 416 Partition Equal Subset Sum 🟠 py
cpp
βœ… 417 Pacific Atlantic Water Flow 🟠 py
πŸ”’ 418 Sentence Screen Fitting 🟠
419 Battleships in a Board 🟠
420 Strong Password Checker πŸ”΄
βœ… 421 Maximum XOR of Two Numbers in an Array 🟠 py
πŸ”’ 422 Valid Word Square 🟒
βœ… 423 Reconstruct Original Digits from English 🟠 py
βœ… 424 Longest Repeating Character Replacement 🟠 py
πŸ”’ 425 Word Squares πŸ”΄
πŸ”’ 426 Convert Binary Search Tree to Sorted Doubly Linked List 🟠
βœ… 427 Construct Quad Tree 🟠 py
πŸ”’ 428 Serialize and Deserialize N-ary Tree πŸ”΄
βœ… 429 N-ary Tree Level Order Traversal 🟠 py
βœ… 430 Flatten a Multilevel Doubly Linked List 🟠 py
πŸ”’ 431 Encode N-ary Tree to Binary Tree πŸ”΄
432 All O`one Data Structure πŸ”΄
βœ… 433 Minimum Genetic Mutation 🟠 py
434 Number of Segments in a String 🟒
βœ… 435 Non-overlapping Intervals 🟠 py
βœ… 436 Find Right Interval 🟠 py
βœ… 437 Path Sum III 🟠 py
βœ… 438 Find All Anagrams in a String 🟠 py
πŸ”’ 439 Ternary Expression Parser 🟠
440 K-th Smallest in Lexicographical Order πŸ”΄
βœ… 441 Arranging Coins 🟒 py
βœ… 442 Find All Duplicates in an Array 🟠 py
βœ… 443 String Compression 🟠 py
πŸ”’ 444 Sequence Reconstruction 🟠
βœ… 445 Add Two Numbers II 🟠 py
βœ… 446 Arithmetic Slices II - Subsequence πŸ”΄ py
447 Number of Boomerangs 🟠
βœ… 448 Find All Numbers Disappeared in an Array 🟒 py
βœ… 449 Serialize and Deserialize BST 🟠 py
βœ… 450 Delete Node in a BST 🟠 py
βœ… 451 Sort Characters By Frequency 🟠 py
βœ… 452 Minimum Number of Arrows to Burst Balloons 🟠 py
453 Minimum Moves to Equal Array Elements 🟠
βœ… 454 4Sum II 🟠 py
βœ… 455 Assign Cookies 🟒 py
βœ… 456 132 Pattern 🟠 py
457 Circular Array Loop 🟠
βœ… 458 Poor Pigs πŸ”΄ py
βœ… 459 Repeated Substring Pattern 🟒 py
βœ… 460 LFU Cache πŸ”΄ py
βœ… 461 Hamming Distance 🟒 py
βœ… 462 Minimum Moves to Equal Array Elements II 🟠 py
βœ… 463 Island Perimeter 🟒 py
464 Can I Win 🟠
πŸ”’ 465 Optimal Account Balancing πŸ”΄
466 Count The Repetitions πŸ”΄
467 Unique Substrings in Wraparound String 🟠
468 Validate IP Address 🟠
πŸ”’ 469 Convex Polygon 🟠
βœ… 470 Implement Rand10() Using Rand7() 🟠 py
πŸ”’ 471 Encode String with Shortest Length πŸ”΄
βœ… 472 Concatenated Words πŸ”΄ py
βœ… 473 Matchsticks to Square 🟠 py
βœ… 474 Ones and Zeroes 🟠 py
475 Heaters 🟠
βœ… 476 Number Complement 🟒 py
477 Total Hamming Distance 🟠
βœ… 478 Generate Random Point in a Circle 🟠 py
479 Largest Palindrome Product πŸ”΄
βœ… 480 Sliding Window Median πŸ”΄ py
481 Magical String 🟠
βœ… 482 License Key Formatting 🟒 py
483 Smallest Good Base πŸ”΄
πŸ”’ 484 Find Permutation 🟠
βœ… 485 Max Consecutive Ones 🟒 py
486 Predict the Winner 🟠
πŸ”’ 487 Max Consecutive Ones II 🟠
488 Zuma Game πŸ”΄
πŸ”’ 489 Robot Room Cleaner πŸ”΄
πŸ”’ 490 The Maze 🟠
βœ… 491 Non-decreasing Subsequences 🟠 py
492 Construct the Rectangle 🟒
493 Reverse Pairs πŸ”΄
βœ… 494 Target Sum 🟠 py
βœ… 495 Teemo Attacking 🟒 py
βœ… 496 Next Greater Element I 🟒 py
497 Random Point in Non-overlapping Rectangles 🟠
βœ… 498 Diagonal Traverse 🟠 py
πŸ”’ 499 The Maze III πŸ”΄
500 Keyboard Row 🟒
501 Find Mode in Binary Search Tree 🟒
502 IPO πŸ”΄
βœ… 503 Next Greater Element II 🟠 py
504 Base 7 🟒
πŸ”’ 505 The Maze II 🟠
βœ… 506 Relative Ranks 🟒 py
507 Perfect Number 🟒
508 Most Frequent Subtree Sum 🟠
βœ… 509 Fibonacci Number 🟒 py
πŸ”’ 510 Inorder Successor in BST II 🟠
511 Game Play Analysis I 🟒
πŸ”’ 512 Game Play Analysis II 🟒
513 Find Bottom Left Tree Value 🟠
514 Freedom Trail πŸ”΄
515 Find Largest Value in Each Tree Row 🟠
βœ… 516 Longest Palindromic Subsequence 🟠 py
cpp
517 Super Washing Machines πŸ”΄
βœ… 518 Coin Change II 🟠 py
519 Random Flip Matrix 🟠
βœ… 520 Detect Capital 🟒 py
βœ… 521 Longest Uncommon Subsequence I 🟒 py
βœ… 522 Longest Uncommon Subsequence II 🟠 py
βœ… 523 Continuous Subarray Sum 🟠 py
βœ… 524 Longest Word in Dictionary through Deleting 🟠 py
βœ… 525 Contiguous Array 🟠 py
βœ… 526 Beautiful Arrangement 🟠 py
πŸ”’ 527 Word Abbreviation πŸ”΄
βœ… 528 Random Pick with Weight 🟠 py
529 Minesweeper 🟠
βœ… 530 Minimum Absolute Difference in BST 🟒 py
πŸ”’ 531 Lonely Pixel I 🟠
βœ… 532 K-diff Pairs in an Array 🟠 py
πŸ”’ 533 Lonely Pixel II 🟠
πŸ”’ 534 Game Play Analysis III 🟠
βœ… 535 Encode and Decode TinyURL 🟠 py
πŸ”’ 536 Construct Binary Tree from String 🟠
βœ… 537 Complex Number Multiplication 🟠 py
βœ… 538 Convert BST to Greater Tree 🟠 py
539 Minimum Time Difference 🟠
βœ… 540 Single Element in a Sorted Array 🟠 py
541 Reverse String II 🟒
βœ… 542 01 Matrix 🟠 py
βœ… 543 Diameter of Binary Tree 🟒 py
πŸ”’ 544 Output Contest Matches 🟠
πŸ”’ 545 Boundary of Binary Tree 🟠
βœ… 546 Remove Boxes πŸ”΄ py
βœ… 547 Number of Provinces 🟠 py
πŸ”’ 548 Split Array with Equal Sum πŸ”΄
πŸ”’ 549 Binary Tree Longest Consecutive Sequence II 🟠
πŸ”’ 550 Game Play Analysis IV 🟠
βœ… 551 Student Attendance Record I 🟒 py
552 Student Attendance Record II πŸ”΄
553 Optimal Division 🟠
βœ… 554 Brick Wall 🟠 py
πŸ”’ 555 Split Concatenated Strings 🟠
βœ… 556 Next Greater Element III 🟠 py
βœ… 557 Reverse Words in a String III 🟒 py
558 Logical OR of Two Binary Grids Represented as Quad-Trees 🟠
βœ… 559 Maximum Depth of N-ary Tree 🟒 py
βœ… 560 Subarray Sum Equals K 🟠 py
βœ… 561 Array Partition 🟒 py
πŸ”’ 562 Longest Line of Consecutive One in Matrix 🟠
βœ… 563 Binary Tree Tilt 🟒 py
564 Find the Closest Palindrome πŸ”΄
βœ… 565 Array Nesting 🟠 py
βœ… 566 Reshape the Matrix 🟒 py
βœ… 567 Permutation in String 🟠 py
πŸ”’ 568 Maximum Vacation Days πŸ”΄
πŸ”’ 569 Median Employee Salary πŸ”΄
πŸ”’ 570 Managers with at Least 5 Direct Reports 🟠
πŸ”’ 571 Find Median Given Frequency of Numbers πŸ”΄
βœ… 572 Subtree of Another Tree 🟒 py
πŸ”’ 573 Squirrel Simulation 🟠
πŸ”’ 574 Winning Candidate 🟠
βœ… 575 Distribute Candies 🟒 py
βœ… 576 Out of Boundary Paths 🟠 py
πŸ”’ 577 Employee Bonus 🟒
πŸ”’ 578 Get Highest Answer Rate Question 🟠
πŸ”’ 579 Find Cumulative Salary of an Employee πŸ”΄
πŸ”’ 580 Count Student Number in Departments 🟠
βœ… 581 Shortest Unsorted Continuous Subarray 🟠 py
πŸ”’ 582 Kill Process 🟠
βœ… 583 Delete Operation for Two Strings 🟠 py
584 Find Customer Referee 🟒
πŸ”’ 585 Investments in 2016 🟠
586 Customer Placing the Largest Number of Orders 🟒
βœ… 587 Erect the Fence πŸ”΄ py
πŸ”’ 588 Design In-Memory File System πŸ”΄
βœ… 589 N-ary Tree Preorder Traversal 🟒 py
βœ… 590 N-ary Tree Postorder Traversal 🟒 py
591 Tag Validator πŸ”΄
592 Fraction Addition and Subtraction 🟠
βœ… 593 Valid Square 🟠 py
βœ… 594 Longest Harmonious Subsequence 🟒 py
595 Big Countries 🟒
596 Classes More Than 5 Students 🟒
πŸ”’ 597 Friend Requests I: Overall Acceptance Rate 🟒
βœ… 598 Range Addition II 🟒 py
599 Minimum Index Sum of Two Lists 🟒
βœ… 600 Non-negative Integers without Consecutive Ones πŸ”΄ py
601 Human Traffic of Stadium πŸ”΄
πŸ”’ 602 Friend Requests II: Who Has the Most Friends 🟠
πŸ”’ 603 Consecutive Available Seats 🟒
πŸ”’ 604 Design Compressed String Iterator 🟒
βœ… 605 Can Place Flowers 🟒 py
βœ… 606 Construct String from Binary Tree 🟒 py
607 Sales Person 🟒
608 Tree Node 🟠
βœ… 609 Find Duplicate File in System 🟠 py
πŸ”’ 610 Triangle Judgement 🟒
βœ… 611 Valid Triangle Number 🟠 py
πŸ”’ 612 Shortest Distance in a Plane 🟠
πŸ”’ 613 Shortest Distance in a Line 🟒
πŸ”’ 614 Second Degree Follower 🟠
πŸ”’ 615 Average Salary: Departments VS Company πŸ”΄
πŸ”’ 616 Add Bold Tag in String 🟠
βœ… 617 Merge Two Binary Trees 🟒 py
πŸ”’ 618 Students Report By Geography πŸ”΄
πŸ”’ 619 Biggest Single Number 🟒
620 Not Boring Movies 🟒
βœ… 621 Task Scheduler 🟠 py
βœ… 622 Design Circular Queue 🟠 py
βœ… 623 Add One Row to Tree 🟠 py
πŸ”’ 624 Maximum Distance in Arrays 🟠
πŸ”’ 625 Minimum Factorization 🟠
626 Exchange Seats 🟠
627 Swap Salary 🟒
βœ… 628 Maximum Product of Three Numbers 🟒 py
βœ… 629 K Inverse Pairs Array πŸ”΄ py
βœ… 630 Course Schedule III πŸ”΄ py
πŸ”’ 631 Design Excel Sum Formula πŸ”΄
632 Smallest Range Covering Elements from K Lists πŸ”΄
βœ… 633 Sum of Square Numbers 🟠 py
πŸ”’ 634 Find the Derangement of An Array 🟠
πŸ”’ 635 Design Log Storage System 🟠
636 Exclusive Time of Functions 🟠
βœ… 637 Average of Levels in Binary Tree 🟒 py
638 Shopping Offers 🟠
βœ… 639 Decode Ways II πŸ”΄ py
640 Solve the Equation 🟠
βœ… 641 Design Circular Deque 🟠 py
πŸ”’ 642 Design Search Autocomplete System πŸ”΄
βœ… 643 Maximum Average Subarray I 🟒 py
πŸ”’ 644 Maximum Average Subarray II πŸ”΄
βœ… 645 Set Mismatch 🟒 py
βœ… 646 Maximum Length of Pair Chain 🟠 py
java
βœ… 647 Palindromic Substrings 🟠 py
βœ… 648 Replace Words 🟠 py
649 Dota2 Senate 🟠
βœ… 650 2 Keys Keyboard 🟠 py
πŸ”’ 651 4 Keys Keyboard 🟠
652 Find Duplicate Subtrees 🟠
βœ… 653 Two Sum IV - Input is a BST 🟒 py
βœ… 654 Maximum Binary Tree 🟠 py
655 Print Binary Tree 🟠
πŸ”’ 656 Coin Path πŸ”΄
βœ… 657 Robot Return to Origin 🟒 py
βœ… 658 Find K Closest Elements 🟠 py
βœ… 659 Split Array into Consecutive Subsequences 🟠 py
πŸ”’ 660 Remove 9 πŸ”΄
661 Image Smoother 🟒
βœ… 662 Maximum Width of Binary Tree 🟠 py
πŸ”’ 663 Equal Tree Partition 🟠
664 Strange Printer πŸ”΄
βœ… 665 Non-decreasing Array 🟠 py
πŸ”’ 666 Path Sum IV 🟠
βœ… 667 Beautiful Arrangement II 🟠 py
βœ… 668 Kth Smallest Number in Multiplication Table πŸ”΄ py
βœ… 669 Trim a Binary Search Tree 🟠 py
βœ… 670 Maximum Swap 🟠 py
671 Second Minimum Node In a Binary Tree 🟒
672 Bulb Switcher II 🟠
βœ… 673 Number of Longest Increasing Subsequence 🟠 py
βœ… 674 Longest Continuous Increasing Subsequence 🟒 py
675 Cut Off Trees for Golf Event πŸ”΄
676 Implement Magic Dictionary 🟠
βœ… 677 Map Sum Pairs 🟠 py
βœ… 678 Valid Parenthesis String 🟠 py
java
679 24 Game πŸ”΄
βœ… 680 Valid Palindrome II 🟒 py
πŸ”’ 681 Next Closest Time 🟠
βœ… 682 Baseball Game 🟒 py
πŸ”’ 683 K Empty Slots πŸ”΄
βœ… 684 Redundant Connection 🟠 py
685 Redundant Connection II πŸ”΄
686 Repeated String Match 🟠
687 Longest Univalue Path 🟠
688 Knight Probability in Chessboard 🟠
689 Maximum Sum of 3 Non-Overlapping Subarrays πŸ”΄
βœ… 690 Employee Importance 🟠 py
691 Stickers to Spell Word πŸ”΄
βœ… 692 Top K Frequent Words 🟠 py
693 Binary Number with Alternating Bits 🟒
πŸ”’ 694 Number of Distinct Islands 🟠
βœ… 695 Max Area of Island 🟠 py
βœ… 696 Count Binary Substrings 🟒 py
697 Degree of an Array 🟒
βœ… 698 Partition to K Equal Sum Subsets 🟠 py
699 Falling Squares πŸ”΄
βœ… 700 Search in a Binary Search Tree 🟒 py
βœ… 701 Insert into a Binary Search Tree 🟠 py
πŸ”’ 702 Search in a Sorted Array of Unknown Size 🟠
βœ… 703 Kth Largest Element in a Stream 🟒 py
βœ… 704 Binary Search 🟒 py
βœ… 705 Design HashSet 🟒 py
βœ… 706 Design HashMap 🟒 py
βœ… 707 Design Linked List 🟠 py
πŸ”’ 708 Insert into a Sorted Circular Linked List 🟠
βœ… 709 To Lower Case 🟒 py
710 Random Pick with Blacklist πŸ”΄
πŸ”’ 711 Number of Distinct Islands II πŸ”΄
712 Minimum ASCII Delete Sum for Two Strings 🟠
βœ… 713 Subarray Product Less Than K 🟠 py
cpp
βœ… 714 Best Time to Buy and Sell Stock with Transaction Fee 🟠 py
715 Range Module πŸ”΄
πŸ”’ 716 Max Stack πŸ”΄
717 1-bit and 2-bit Characters 🟒
βœ… 718 Maximum Length of Repeated Subarray 🟠 py
java
βœ… 719 Find K-th Smallest Pair Distance πŸ”΄ py
βœ… 720 Longest Word in Dictionary 🟠 py
βœ… 721 Accounts Merge 🟠 py
722 Remove Comments 🟠
πŸ”’ 723 Candy Crush 🟠
βœ… 724 Find Pivot Index 🟒 py
βœ… 725 Split Linked List in Parts 🟠 py
726 Number of Atoms πŸ”΄
πŸ”’ 727 Minimum Window Subsequence πŸ”΄
βœ… 728 Self Dividing Numbers 🟒 py
βœ… 729 My Calendar I 🟠 py
730 Count Different Palindromic Subsequences πŸ”΄
βœ… 731 My Calendar II 🟠 py
βœ… 732 My Calendar III πŸ”΄ py
βœ… 733 Flood Fill 🟒 py
πŸ”’ 734 Sentence Similarity 🟒
βœ… 735 Asteroid Collision 🟠 py
736 Parse Lisp Expression πŸ”΄
πŸ”’ 737 Sentence Similarity II 🟠
738 Monotone Increasing Digits 🟠
βœ… 739 Daily Temperatures 🟠 py
βœ… 740 Delete and Earn 🟠 py
cpp
βœ… 741 Cherry Pickup πŸ”΄ py
πŸ”’ 742 Closest Leaf in a Binary Tree 🟠
βœ… 743 Network Delay Time 🟠 py
βœ… 744 Find Smallest Letter Greater Than Target 🟒 py
βœ… 745 Prefix and Suffix Search πŸ”΄ py
βœ… 746 Min Cost Climbing Stairs 🟒 py
βœ… 747 Largest Number At Least Twice of Others 🟒 py
748 Shortest Completing Word 🟒
749 Contain Virus πŸ”΄
πŸ”’ 750 Number Of Corner Rectangles 🟠
πŸ”’ 751 IP to CIDR 🟠
βœ… 752 Open the Lock 🟠 py
753 Cracking the Safe πŸ”΄
βœ… 754 Reach a Number 🟠 py
πŸ”’ 755 Pour Water 🟠
756 Pyramid Transition Matrix 🟠
757 Set Intersection Size At Least Two πŸ”΄
πŸ”’ 758 Bold Words in String 🟠
πŸ”’ 759 Employee Free Time πŸ”΄
πŸ”’ 760 Find Anagram Mappings 🟒
761 Special Binary String πŸ”΄
762 Prime Number of Set Bits in Binary Representation 🟒
βœ… 763 Partition Labels 🟠 py
cpp
βœ… 764 Largest Plus Sign 🟠 py
765 Couples Holding Hands πŸ”΄
βœ… 766 Toeplitz Matrix 🟒 py
βœ… 767 Reorganize String 🟠 py
768 Max Chunks To Make Sorted II πŸ”΄
βœ… 769 Max Chunks To Make Sorted 🟠 cpp
770 Basic Calculator IV πŸ”΄
βœ… 771 Jewels and Stones 🟒 py
πŸ”’ 772 Basic Calculator III πŸ”΄
773 Sliding Puzzle πŸ”΄
πŸ”’ 774 Minimize Max Distance to Gas Station πŸ”΄
βœ… 775 Global and Local Inversions 🟠 py
πŸ”’ 776 Split BST 🟠
βœ… 777 Swap Adjacent in LR String 🟠 py
βœ… 778 Swim in Rising Water πŸ”΄ py
779 K-th Symbol in Grammar 🟠
780 Reaching Points πŸ”΄
781 Rabbits in Forest 🟠
βœ… 782 Transform to Chessboard πŸ”΄ py
βœ… 783 Minimum Distance Between BST Nodes 🟒 py
βœ… 784 Letter Case Permutation 🟠 py
βœ… 785 Is Graph Bipartite? 🟠 py
786 K-th Smallest Prime Fraction 🟠
βœ… 787 Cheapest Flights Within K Stops 🟠 py
java
βœ… 788 Rotated Digits 🟠 py
789 Escape The Ghosts 🟠
βœ… 790 Domino and Tromino Tiling 🟠 py
βœ… 791 Custom Sort String 🟠 py
βœ… 792 Number of Matching Subsequences 🟠 py
793 Preimage Size of Factorial Zeroes Function πŸ”΄
794 Valid Tic-Tac-Toe State 🟠
βœ… 795 Number of Subarrays with Bounded Maximum 🟠 py
βœ… 796 Rotate String 🟒 py
βœ… 797 All Paths From Source to Target 🟠 py
798 Smallest Rotation with Highest Score πŸ”΄
βœ… 799 Champagne Tower 🟠 py
πŸ”’ 800 Similar RGB Color 🟒
801 Minimum Swaps To Make Sequences Increasing πŸ”΄
βœ… 802 Find Eventual Safe States 🟠 py
803 Bricks Falling When Hit πŸ”΄
βœ… 804 Unique Morse Code Words 🟒 py
805 Split Array With Same Average πŸ”΄
806 Number of Lines To Write String 🟒
807 Max Increase to Keep City Skyline 🟠
808 Soup Servings 🟠
809 Expressive Words 🟠
810 Chalkboard XOR Game πŸ”΄
βœ… 811 Subdomain Visit Count 🟠 py
812 Largest Triangle Area 🟒
813 Largest Sum of Averages 🟠
βœ… 814 Binary Tree Pruning 🟠 py
βœ… 815 Bus Routes πŸ”΄ py
βœ… 816 Ambiguous Coordinates 🟠 py
817 Linked List Components 🟠
βœ… 818 Race Car πŸ”΄ py
βœ… 819 Most Common Word 🟒 py
βœ… 820 Short Encoding of Words 🟠 py
βœ… 821 Shortest Distance to a Character 🟒 py
822 Card Flipping Game 🟠
βœ… 823 Binary Trees With Factors 🟠 py
βœ… 824 Goat Latin 🟒 py
825 Friends Of Appropriate Ages 🟠
βœ… 826 Most Profit Assigning Work 🟠 py
βœ… 827 Making A Large Island πŸ”΄ py
828 Count Unique Characters of All Substrings of a Given String πŸ”΄
829 Consecutive Numbers Sum πŸ”΄
βœ… 830 Positions of Large Groups 🟒 py
βœ… 831 Masking Personal Information 🟠 py
βœ… 832 Flipping an Image 🟒 py
833 Find And Replace in String 🟠
βœ… 834 Sum of Distances in Tree πŸ”΄ py
βœ… 835 Image Overlap 🟠 py
836 Rectangle Overlap 🟒
837 New 21 Game 🟠
βœ… 838 Push Dominoes 🟠 py
839 Similar String Groups πŸ”΄
840 Magic Squares In Grid 🟠
βœ… 841 Keys and Rooms 🟠 py
842 Split Array into Fibonacci Sequence 🟠
βœ… 843 Guess the Word πŸ”΄ py
βœ… 844 Backspace String Compare 🟒 py
βœ… 845 Longest Mountain in Array 🟠 py
βœ… 846 Hand of Straights 🟠 py
βœ… 847 Shortest Path Visiting All Nodes πŸ”΄ py
βœ… 848 Shifting Letters 🟠 py
βœ… 849 Maximize Distance to Closest Person 🟠 py
βœ… 850 Rectangle Area II πŸ”΄ py
851 Loud and Rich 🟠
βœ… 852 Peak Index in a Mountain Array 🟠 py
853 Car Fleet 🟠
βœ… 854 K-Similar Strings πŸ”΄ py
855 Exam Room 🟠
βœ… 856 Score of Parentheses 🟠 py
857 Minimum Cost to Hire K Workers πŸ”΄
βœ… 858 Mirror Reflection 🟠 py
βœ… 859 Buddy Strings 🟒 py
βœ… 860 Lemonade Change 🟒 py
861 Score After Flipping Matrix 🟠
862 Shortest Subarray with Sum at Least K πŸ”΄
863 All Nodes Distance K in Binary Tree 🟠
864 Shortest Path to Get All Keys πŸ”΄
βœ… 865 Smallest Subtree with all the Deepest Nodes 🟠 py
866 Prime Palindrome 🟠
βœ… 867 Transpose Matrix 🟒 py
868 Binary Gap 🟒
βœ… 869 Reordered Power of 2 🟠 py
βœ… 870 Advantage Shuffle 🟠 py
βœ… 871 Minimum Number of Refueling Stops πŸ”΄ py
βœ… 872 Leaf-Similar Trees 🟒 py
βœ… 873 Length of Longest Fibonacci Subsequence 🟠 cpp
874 Walking Robot Simulation 🟠
βœ… 875 Koko Eating Bananas 🟠 py
βœ… 876 Middle of the Linked List 🟒 py
cpp
βœ… 877 Stone Game 🟠 py
cpp
βœ… 878 Nth Magical Number πŸ”΄ py
879 Profitable Schemes πŸ”΄
βœ… 880 Decoded String at Index 🟠 py
βœ… 881 Boats to Save People 🟠 py
βœ… 882 Reachable Nodes In Subdivided Graph πŸ”΄ py
883 Projection Area of 3D Shapes 🟒
884 Uncommon Words from Two Sentences 🟒
885 Spiral Matrix III 🟠
βœ… 886 Possible Bipartition 🟠 py
887 Super Egg Drop πŸ”΄
888 Fair Candy Swap 🟒
889 Construct Binary Tree from Preorder and Postorder Traversal 🟠
βœ… 890 Find and Replace Pattern 🟠 py
891 Sum of Subsequence Widths πŸ”΄
892 Surface Area of 3D Shapes 🟒
893 Groups of Special-Equivalent Strings 🟠
894 All Possible Full Binary Trees 🟠
βœ… 895 Maximum Frequency Stack πŸ”΄ py
βœ… 896 Monotonic Array 🟒 py
βœ… 897 Increasing Order Search Tree 🟒 py
cpp
898 Bitwise ORs of Subarrays 🟠
βœ… 899 Orderly Queue πŸ”΄ py
900 RLE Iterator 🟠
βœ… 901 Online Stock Span 🟠 py
βœ… 902 Numbers At Most N Given Digit Set πŸ”΄ py
903 Valid Permutations for DI Sequence πŸ”΄
βœ… 904 Fruit Into Baskets 🟠 py
βœ… 905 Sort Array By Parity 🟒 py
cpp
βœ… 906 Super Palindromes πŸ”΄ py
βœ… 907 Sum of Subarray Minimums 🟠 py
βœ… 908 Smallest Range I 🟒 py
βœ… 909 Snakes and Ladders 🟠 py
cpp
βœ… 910 Smallest Range II 🟠 py
βœ… 911 Online Election 🟠 py
912 Sort an Array 🟠
913 Cat and Mouse πŸ”΄
βœ… 914 X of a Kind in a Deck of Cards 🟒 py
βœ… 915 Partition Array into Disjoint Intervals 🟠 py
βœ… 916 Word Subsets 🟠 py
βœ… 917 Reverse Only Letters 🟒 py
βœ… 918 Maximum Sum Circular Subarray 🟠 py
βœ… 919 Complete Binary Tree Inserter 🟠 py
920 Number of Music Playlists πŸ”΄
921 Minimum Add to Make Parentheses Valid 🟠
βœ… 922 Sort Array By Parity II 🟒 py
βœ… 923 3Sum With Multiplicity 🟠 py
java
924 Minimize Malware Spread πŸ”΄
βœ… 925 Long Pressed Name 🟒 py
βœ… 926 Flip String to Monotone Increasing 🟠 py
βœ… 927 Three Equal Parts πŸ”΄ py
928 Minimize Malware Spread II πŸ”΄
βœ… 929 Unique Email Addresses 🟒 py
βœ… 930 Binary Subarrays With Sum 🟠 py
βœ… 931 Minimum Falling Path Sum 🟠 py
βœ… 932 Beautiful Array 🟠 py
βœ… 933 Number of Recent Calls 🟒 py
βœ… 934 Shortest Bridge 🟠 py
βœ… 935 Knight Dialer 🟠 py
βœ… 936 Stamping The Sequence πŸ”΄ py
βœ… 937 Reorder Data in Log Files 🟠 py
βœ… 938 Range Sum of BST 🟒 py
cpp
βœ… 939 Minimum Area Rectangle 🟠 py
βœ… 940 Distinct Subsequences II πŸ”΄ py
βœ… 941 Valid Mountain Array 🟒 py
βœ… 942 DI String Match 🟒 py
βœ… 943 Find the Shortest Superstring πŸ”΄ py
βœ… 944 Delete Columns to Make Sorted 🟒 py
βœ… 945 Minimum Increment to Make Array Unique 🟠 py
βœ… 946 Validate Stack Sequences 🟠 py
βœ… 947 Most Stones Removed with Same Row or Column 🟠 py
βœ… 948 Bag of Tokens 🟠 py
βœ… 949 Largest Time for Given Digits 🟠 py
cpp
βœ… 950 Reveal Cards In Increasing Order 🟠 py
βœ… 951 Flip Equivalent Binary Trees 🟠 py
βœ… 952 Largest Component Size by Common Factor πŸ”΄ py
βœ… 953 Verifying an Alien Dictionary 🟒 py
βœ… 954 Array of Doubled Pairs 🟠 py
βœ… 955 Delete Columns to Make Sorted II 🟠 py
βœ… 956 Tallest Billboard πŸ”΄ py
βœ… 957 Prison Cells After N Days 🟠 py
java
βœ… 958 Check Completeness of a Binary Tree 🟠 py
βœ… 959 Regions Cut By Slashes 🟠 py
βœ… 960 Delete Columns to Make Sorted III πŸ”΄ py
βœ… 961 N-Repeated Element in Size 2N Array 🟒 py
βœ… 962 Maximum Width Ramp 🟠 py
βœ… 963 Minimum Area Rectangle II 🟠 py
964 Least Operators to Express Number πŸ”΄
βœ… 965 Univalued Binary Tree 🟒 py
βœ… 966 Vowel Spellchecker 🟠 py
βœ… 967 Numbers With Same Consecutive Differences 🟠 py
cpp
βœ… 968 Binary Tree Cameras πŸ”΄ py
βœ… 969 Pancake Sorting 🟠 py
βœ… 970 Powerful Integers 🟠 py
βœ… 971 Flip Binary Tree To Match Preorder Traversal 🟠 py
βœ… 972 Equal Rational Numbers πŸ”΄ py
βœ… 973 K Closest Points to Origin 🟠 py
βœ… 974 Subarray Sums Divisible by K 🟠 py
βœ… 975 Odd Even Jump πŸ”΄ py
βœ… 976 Largest Perimeter Triangle 🟒 py
βœ… 977 Squares of a Sorted Array 🟒 py
βœ… 978 Longest Turbulent Subarray 🟠 py
βœ… 979 Distribute Coins in Binary Tree 🟠 py
βœ… 980 Unique Paths III πŸ”΄ py
βœ… 981 Time Based Key-Value Store 🟠 py
βœ… 982 Triples with Bitwise AND Equal To Zero πŸ”΄ py
βœ… 983 Minimum Cost For Tickets 🟠 py
βœ… 984 String Without AAA or BBB 🟠 py
βœ… 985 Sum of Even Numbers After Queries 🟠 py
βœ… 986 Interval List Intersections 🟠 py
βœ… 987 Vertical Order Traversal of a Binary Tree πŸ”΄ py
βœ… 988 Smallest String Starting From Leaf 🟠 py
βœ… 989 Add to Array-Form of Integer 🟒 py
βœ… 990 Satisfiability of Equality Equations 🟠 py
βœ… 991 Broken Calculator 🟠 py
βœ… 992 Subarrays with K Different Integers πŸ”΄ py
βœ… 993 Cousins in Binary Tree 🟒 py
βœ… 994 Rotting Oranges 🟠 py
βœ… 995 Minimum Number of K Consecutive Bit Flips πŸ”΄ py
βœ… 996 Number of Squareful Arrays πŸ”΄ py
βœ… 997 Find the Town Judge 🟒 py
βœ… 998 Maximum Binary Tree II 🟠 py
βœ… 999 Available Captures for Rook 🟒 py
βœ… 1000 Minimum Cost to Merge Stones πŸ”΄ py
βœ… 1001 Grid Illumination πŸ”΄ py
βœ… 1002 Find Common Characters 🟒 py
βœ… 1003 Check If Word Is Valid After Substitutions 🟠 py
βœ… 1004 Max Consecutive Ones III 🟠 py
βœ… 1005 Maximize Sum Of Array After K Negations 🟒 py
βœ… 1006 Clumsy Factorial 🟠 cpp
βœ… 1007 Minimum Domino Rotations For Equal Row 🟠 py
βœ… 1008 Construct Binary Search Tree from Preorder Traversal 🟠 py
βœ… 1009 Complement of Base 10 Integer 🟒 py
βœ… 1010 Pairs of Songs With Total Durations Divisible by 60 🟠 py
βœ… 1011 Capacity To Ship Packages Within D Days 🟠 py
βœ… 1012 Numbers With Repeated Digits πŸ”΄ py
cpp
βœ… 1013 Partition Array Into Three Parts With Equal Sum 🟒 py
βœ… 1014 Best Sightseeing Pair 🟠 py
βœ… 1015 Smallest Integer Divisible by K 🟠 py
βœ… 1016 Binary String With Substrings Representing 1 To N 🟠 py
βœ… 1017 Convert to Base -2 🟠 py
βœ… 1018 Binary Prefix Divisible By 5 🟒 py
βœ… 1019 Next Greater Node In Linked List 🟠 py
βœ… 1020 Number of Enclaves 🟠 py
βœ… 1021 Remove Outermost Parentheses 🟒 py
βœ… 1022 Sum of Root To Leaf Binary Numbers 🟒 py
βœ… 1023 Camelcase Matching 🟠 py
βœ… 1024 Video Stitching 🟠 py
βœ… 1025 Divisor Game 🟒 py
βœ… 1026 Maximum Difference Between Node and Ancestor 🟠 py
βœ… 1027 Longest Arithmetic Subsequence 🟠 py
βœ… 1028 Recover a Tree From Preorder Traversal πŸ”΄ py
βœ… 1029 Two City Scheduling 🟠 py
βœ… 1030 Matrix Cells in Distance Order 🟒 py
βœ… 1031 Maximum Sum of Two Non-Overlapping Subarrays 🟠 py
βœ… 1032 Stream of Characters πŸ”΄ py
βœ… 1033 Moving Stones Until Consecutive 🟠 py
βœ… 1034 Coloring A Border 🟠 py
βœ… 1035 Uncrossed Lines 🟠 py
βœ… 1036 Escape a Large Maze πŸ”΄ py
βœ… 1037 Valid Boomerang 🟒 py
βœ… 1038 Binary Search Tree to Greater Sum Tree 🟠 py
βœ… 1039 Minimum Score Triangulation of Polygon 🟠 py
1040 Moving Stones Until Consecutive II 🟠
βœ… 1041 Robot Bounded In Circle 🟠 py
βœ… 1042 Flower Planting With No Adjacent 🟠 py
βœ… 1043 Partition Array for Maximum Sum 🟠 py
βœ… 1044 Longest Duplicate Substring πŸ”΄ py
πŸ”’ 1045 Customers Who Bought All Products 🟠
βœ… 1046 Last Stone Weight 🟒 py
βœ… 1047 Remove All Adjacent Duplicates In String 🟒 py
βœ… 1048 Longest String Chain 🟠 py
1049 Last Stone Weight II 🟠
1050 Actors and Directors Who Cooperated At Least Three Times 🟒
βœ… 1051 Height Checker 🟒 py
βœ… 1052 Grumpy Bookstore Owner 🟠 py
βœ… 1053 Previous Permutation With One Swap 🟠 py
βœ… 1054 Distant Barcodes 🟠 py
πŸ”’ 1055 Shortest Way to Form String 🟠
πŸ”’ 1056 Confusing Number 🟒
πŸ”’ 1057 Campus Bikes 🟠
πŸ”’ 1058 Minimize Rounding Error to Meet Target 🟠
πŸ”’ 1059 All Paths from Source Lead to Destination 🟠
πŸ”’ 1060 Missing Element in Sorted Array 🟠
βœ… 1061 Lexicographically Smallest Equivalent String 🟠 py
πŸ”’ 1062 Longest Repeating Substring 🟠
πŸ”’ 1063 Number of Valid Subarrays πŸ”΄
πŸ”’ 1064 Fixed Point 🟒
πŸ”’ 1065 Index Pairs of a String 🟒
πŸ”’ 1066 Campus Bikes II 🟠
πŸ”’ 1067 Digit Count in Range πŸ”΄
πŸ”’ 1068 Product Sales Analysis I 🟒
πŸ”’ 1069 Product Sales Analysis II 🟒
πŸ”’ 1070 Product Sales Analysis III 🟠
βœ… 1071 Greatest Common Divisor of Strings 🟒 py
βœ… 1072 Flip Columns For Maximum Number of Equal Rows 🟠 py
βœ… 1073 Adding Two Negabinary Numbers 🟠 py
βœ… 1074 Number of Submatrices That Sum to Target πŸ”΄ py
πŸ”’ 1075 Project Employees I 🟒
πŸ”’ 1076 Project Employees II 🟒
πŸ”’ 1077 Project Employees III 🟠
βœ… 1078 Occurrences After Bigram 🟒 py
βœ… 1079 Letter Tile Possibilities 🟠 py
βœ… 1080 Insufficient Nodes in Root to Leaf Paths 🟠 py
βœ… 1081 Smallest Subsequence of Distinct Characters 🟠 py
πŸ”’ 1082 Sales Analysis I 🟒
πŸ”’ 1083 Sales Analysis II 🟒
1084 Sales Analysis III 🟒
πŸ”’ 1085 Sum of Digits in the Minimum Number 🟒
πŸ”’ 1086 High Five 🟒
πŸ”’ 1087 Brace Expansion 🟠
πŸ”’ 1088 Confusing Number II πŸ”΄
βœ… 1089 Duplicate Zeros 🟒 py
βœ… 1090 Largest Values From Labels 🟠 py
βœ… 1091 Shortest Path in Binary Matrix 🟠 py
βœ… 1092 Shortest Common Supersequence πŸ”΄ py
βœ… 1093 Statistics from a Large Sample 🟠 py
βœ… 1094 Car Pooling 🟠 py
βœ… 1095 Find in Mountain Array πŸ”΄ py
1096 Brace Expansion II πŸ”΄
πŸ”’ 1097 Game Play Analysis V πŸ”΄
πŸ”’ 1098 Unpopular Books 🟠
πŸ”’ 1099 Two Sum Less Than K 🟒
πŸ”’ 1100 Find K-Length Substrings With No Repeated Characters 🟠
πŸ”’ 1101 The Earliest Moment When Everyone Become Friends 🟠
πŸ”’ 1102 Path With Maximum Minimum Value 🟠
βœ… 1103 Distribute Candies to People 🟒 py
βœ… 1104 Path In Zigzag Labelled Binary Tree 🟠 py
βœ… 1105 Filling Bookcase Shelves 🟠 py
βœ… 1106 Parsing A Boolean Expression πŸ”΄ py
πŸ”’ 1107 New Users Daily Count 🟠
βœ… 1108 Defanging an IP Address 🟒 py
βœ… 1109 Corporate Flight Bookings 🟠 py
βœ… 1110 Delete Nodes And Return Forest 🟠 py
βœ… 1111 Maximum Nesting Depth of Two Valid Parentheses Strings 🟠 py
πŸ”’ 1112 Highest Grade For Each Student 🟠
πŸ”’ 1113 Reported Posts 🟒
βœ… 1114 Print in Order 🟒 py
1115 Print FooBar Alternately 🟠
1116 Print Zero Even Odd 🟠
1117 Building H2O 🟠
πŸ”’ 1118 Number of Days in a Month 🟒
πŸ”’ 1119 Remove Vowels from a String 🟒
πŸ”’ 1120 Maximum Average Subtree 🟠
πŸ”’ 1121 Divide Array Into Increasing Sequences πŸ”΄
βœ… 1122 Relative Sort Array 🟒 py
βœ… 1123 Lowest Common Ancestor of Deepest Leaves 🟠 py
βœ… 1124 Longest Well-Performing Interval 🟠 py
βœ… 1125 Smallest Sufficient Team πŸ”΄ py
πŸ”’ 1126 Active Businesses 🟠
πŸ”’ 1127 User Purchase Platform πŸ”΄
βœ… 1128 Number of Equivalent Domino Pairs 🟒 py
βœ… 1129 Shortest Path with Alternating Colors 🟠 py
βœ… 1130 Minimum Cost Tree From Leaf Values 🟠 py
1131 Maximum of Absolute Value Expression 🟠
πŸ”’ 1132 Reported Posts II 🟠
πŸ”’ 1133 Largest Unique Number 🟒
πŸ”’ 1134 Armstrong Number 🟒
πŸ”’ 1135 Connecting Cities With Minimum Cost 🟠
πŸ”’ 1136 Parallel Courses 🟠
βœ… 1137 N-th Tribonacci Number 🟒 py
cpp
βœ… 1138 Alphabet Board Path 🟠 py
βœ… 1139 Largest 1-Bordered Square 🟠 py
1140 Stone Game II 🟠
1141 User Activity for the Past 30 Days I 🟒
πŸ”’ 1142 User Activity for the Past 30 Days II 🟒
βœ… 1143 Longest Common Subsequence 🟠 py
βœ… 1144 Decrease Elements To Make Array Zigzag 🟠 py
βœ… 1145 Binary Tree Coloring Game 🟠 py
βœ… 1146 Snapshot Array 🟠 py
βœ… 1147 Longest Chunked Palindrome Decomposition πŸ”΄ py
1148 Article Views I 🟒
πŸ”’ 1149 Article Views II 🟠
πŸ”’ 1150 Check If a Number Is Majority Element in a Sorted Array 🟒
πŸ”’ 1151 Minimum Swaps to Group All 1's Together 🟠
πŸ”’ 1152 Analyze User Website Visit Pattern 🟠
πŸ”’ 1153 String Transforms Into Another String πŸ”΄
βœ… 1154 Day of the Year 🟒 py
βœ… 1155 Number of Dice Rolls With Target Sum 🟠 py
βœ… 1156 Swap For Longest Repeated Character Substring 🟠 py
1157 Online Majority Element In Subarray πŸ”΄
1158 Market Analysis I 🟠
πŸ”’ 1159 Market Analysis II πŸ”΄
βœ… 1160 Find Words That Can Be Formed by Characters 🟒 py
βœ… 1161 Maximum Level Sum of a Binary Tree 🟠 py
βœ… 1162 As Far from Land as Possible 🟠 py
βœ… 1163 Last Substring in Lexicographical Order πŸ”΄ py
πŸ”’ 1164 Product Price at a Given Date 🟠
πŸ”’ 1165 Single-Row Keyboard 🟒
πŸ”’ 1166 Design File System 🟠
πŸ”’ 1167 Minimum Cost to Connect Sticks 🟠
πŸ”’ 1168 Optimize Water Distribution in a Village πŸ”΄
βœ… 1169 Invalid Transactions 🟠 py
βœ… 1170 Compare Strings by Frequency of the Smallest Character 🟠 py
βœ… 1171 Remove Zero Sum Consecutive Nodes from Linked List 🟠 py
1172 Dinner Plate Stacks πŸ”΄
πŸ”’ 1173 Immediate Food Delivery I 🟒
πŸ”’ 1174 Immediate Food Delivery II 🟠
βœ… 1175 Prime Arrangements 🟒 py
πŸ”’ 1176 Diet Plan Performance 🟒
βœ… 1177 Can Make Palindrome from Substring 🟠 py
βœ… 1178 Number of Valid Words for Each Puzzle πŸ”΄ py
1179 Reformat Department Table 🟒
πŸ”’ 1180 Count Substrings with Only One Distinct Letter 🟒
πŸ”’ 1181 Before and After Puzzle 🟠
πŸ”’ 1182 Shortest Distance to Target Color 🟠
πŸ”’ 1183 Maximum Number of Ones πŸ”΄
βœ… 1184 Distance Between Bus Stops 🟒 py
βœ… 1185 Day of the Week 🟒 py
βœ… 1186 Maximum Subarray Sum with One Deletion 🟠 py
1187 Make Array Strictly Increasing πŸ”΄
πŸ”’ 1188 Design Bounded Blocking Queue 🟠
βœ… 1189 Maximum Number of Balloons 🟒 py
βœ… 1190 Reverse Substrings Between Each Pair of Parentheses 🟠 py
βœ… 1191 K-Concatenation Maximum Sum 🟠 py
βœ… 1192 Critical Connections in a Network πŸ”΄ py
πŸ”’ 1193 Monthly Transactions I 🟠
πŸ”’ 1194 Tournament Winners πŸ”΄
1195 Fizz Buzz Multithreaded 🟠
πŸ”’ 1196 How Many Apples Can You Put into the Basket 🟒
πŸ”’ 1197 Minimum Knight Moves 🟠
πŸ”’ 1198 Find Smallest Common Element in All Rows 🟠
πŸ”’ 1199 Minimum Time to Build Blocks πŸ”΄
βœ… 1200 Minimum Absolute Difference 🟒 py
βœ… 1201 Ugly Number III 🟠 py
βœ… 1202 Smallest String With Swaps 🟠 py
1203 Sort Items by Groups Respecting Dependencies πŸ”΄
πŸ”’ 1204 Last Person to Fit in the Bus 🟠
πŸ”’ 1205 Monthly Transactions II 🟠
1206 Design Skiplist πŸ”΄
βœ… 1207 Unique Number of Occurrences 🟒 py
βœ… 1208 Get Equal Substrings Within Budget 🟠 py
βœ… 1209 Remove All Adjacent Duplicates in String II 🟠 py
βœ… 1210 Minimum Moves to Reach Target with Rotations πŸ”΄ py
πŸ”’ 1211 Queries Quality and Percentage 🟒
πŸ”’ 1212 Team Scores in Football Tournament 🟠
πŸ”’ 1213 Intersection of Three Sorted Arrays 🟒
πŸ”’ 1214 Two Sum BSTs 🟠
πŸ”’ 1215 Stepping Numbers 🟠
πŸ”’ 1216 Valid Palindrome III πŸ”΄
βœ… 1217 Minimum Cost to Move Chips to The Same Position 🟒 py
βœ… 1218 Longest Arithmetic Subsequence of Given Difference 🟠 py
βœ… 1219 Path with Maximum Gold 🟠 py
βœ… 1220 Count Vowels Permutation πŸ”΄ py
βœ… 1221 Split a String in Balanced Strings 🟒 py
βœ… 1222 Queens That Can Attack the King 🟠 py
1223 Dice Roll Simulation πŸ”΄
1224 Maximum Equal Frequency πŸ”΄
πŸ”’ 1225 Report Contiguous Dates πŸ”΄
1226 The Dining Philosophers 🟠
1227 Airplane Seat Assignment Probability 🟠
πŸ”’ 1228 Missing Number In Arithmetic Progression 🟒
πŸ”’ 1229 Meeting Scheduler 🟠
πŸ”’ 1230 Toss Strange Coins 🟠
πŸ”’ 1231 Divide Chocolate πŸ”΄
βœ… 1232 Check If It Is a Straight Line 🟒 py
βœ… 1233 Remove Sub-Folders from the Filesystem 🟠 py
βœ… 1234 Replace the Substring for Balanced String 🟠 py
βœ… 1235 Maximum Profit in Job Scheduling πŸ”΄ py
πŸ”’ 1236 Web Crawler 🟠
βœ… 1237 Find Positive Integer Solution for a Given Equation 🟠 py
βœ… 1238 Circular Permutation in Binary Representation 🟠 py
βœ… 1239 Maximum Length of a Concatenated String with Unique Characters 🟠 py
1240 Tiling a Rectangle with the Fewest Squares πŸ”΄
πŸ”’ 1241 Number of Comments per Post 🟒
πŸ”’ 1242 Web Crawler Multithreaded 🟠
πŸ”’ 1243 Array Transformation 🟒
πŸ”’ 1244 Design A Leaderboard 🟠
πŸ”’ 1245 Tree Diameter 🟠
πŸ”’ 1246 Palindrome Removal πŸ”΄
βœ… 1247 Minimum Swaps to Make Strings Equal 🟠 py
βœ… 1248 Count Number of Nice Subarrays 🟠 py
βœ… 1249 Minimum Remove to Make Valid Parentheses 🟠 py
βœ… 1250 Check If It Is a Good Array πŸ”΄ cpp
πŸ”’ 1251 Average Selling Price 🟒
βœ… 1252 Cells with Odd Values in a Matrix 🟒 py
βœ… 1253 Reconstruct a 2-Row Binary Matrix 🟠 py
βœ… 1254 Number of Closed Islands 🟠 py
βœ… 1255 Maximum Score Words Formed by Letters πŸ”΄ py
πŸ”’ 1256 Encode Number 🟠
πŸ”’ 1257 Smallest Common Region 🟠
πŸ”’ 1258 Synonymous Sentences 🟠
πŸ”’ 1259 Handshakes That Don't Cross πŸ”΄
βœ… 1260 Shift 2D Grid 🟒 py
βœ… 1261 Find Elements in a Contaminated Binary Tree 🟠 py
βœ… 1262 Greatest Sum Divisible by Three 🟠 py
cpp
1263 Minimum Moves to Move a Box to Their Target Location πŸ”΄
πŸ”’ 1264 Page Recommendations 🟠
πŸ”’ 1265 Print Immutable Linked List in Reverse 🟠
βœ… 1266 Minimum Time Visiting All Points 🟒 py
βœ… 1267 Count Servers that Communicate 🟠 py
βœ… 1268 Search Suggestions System 🟠 py
βœ… 1269 Number of Ways to Stay in the Same Place After Some Steps πŸ”΄ py
πŸ”’ 1270 All People Report to the Given Manager 🟠
πŸ”’ 1271 Hexspeak 🟒
πŸ”’ 1272 Remove Interval 🟠
πŸ”’ 1273 Delete Tree Nodes 🟠
πŸ”’ 1274 Number of Ships in a Rectangle πŸ”΄
βœ… 1275 Find Winner on a Tic Tac Toe Game 🟒 py
βœ… 1276 Number of Burgers with No Waste of Ingredients 🟠 py
1277 Count Square Submatrices with All Ones 🟠
1278 Palindrome Partitioning III πŸ”΄
πŸ”’ 1279 Traffic Light Controlled Intersection 🟒
πŸ”’ 1280 Students and Examinations 🟒
βœ… 1281 Subtract the Product and Sum of Digits of an Integer 🟒 py
βœ… 1282 Group the People Given the Group Size They Belong To 🟠 py
βœ… 1283 Find the Smallest Divisor Given a Threshold 🟠 py
1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix πŸ”΄
πŸ”’ 1285 Find the Start and End Number of Continuous Ranges 🟠
βœ… 1286 Iterator for Combination 🟠 py
βœ… 1287 Element Appearing More Than 25% In Sorted Array 🟒 py
βœ… 1288 Remove Covered Intervals 🟠 py
1289 Minimum Falling Path Sum II πŸ”΄
βœ… 1290 Convert Binary Number in a Linked List to Integer 🟒 py
cpp
βœ… 1291 Sequential Digits 🟠 py
βœ… 1292 Maximum Side Length of a Square with Sum Less than or Equal to Threshold 🟠 py
java
βœ… 1293 Shortest Path in a Grid with Obstacles Elimination πŸ”΄ py
πŸ”’ 1294 Weather Type in Each Country 🟒
βœ… 1295 Find Numbers with Even Number of Digits 🟒 py
βœ… 1296 Divide Array in Sets of K Consecutive Numbers 🟠 py
βœ… 1297 Maximum Number of Occurrences of a Substring 🟠 py
βœ… 1298 Maximum Candies You Can Get from Boxes πŸ”΄ py
βœ… 1299 Replace Elements with Greatest Element on Right Side 🟒 py
βœ… 1300 Sum of Mutated Array Closest to Target 🟠 py
1301 Number of Paths with Max Score πŸ”΄
βœ… 1302 Deepest Leaves Sum 🟠 py
πŸ”’ 1303 Find the Team Size 🟒
βœ… 1304 Find N Unique Integers Sum up to Zero 🟒 py
βœ… 1305 All Elements in Two Binary Search Trees 🟠 py
βœ… 1306 Jump Game III 🟠 py
1307 Verbal Arithmetic Puzzle πŸ”΄
πŸ”’ 1308 Running Total for Different Genders 🟠
βœ… 1309 Decrypt String from Alphabet to Integer Mapping 🟒 py
cpp
βœ… 1310 XOR Queries of a Subarray 🟠 py
βœ… 1311 Get Watched Videos by Your Friends 🟠 py
βœ… 1312 Minimum Insertion Steps to Make a String Palindrome πŸ”΄ py
βœ… 1313 Decompress Run-Length Encoded List 🟒 py
βœ… 1314 Matrix Block Sum 🟠 py
βœ… 1315 Sum of Nodes with Even-Valued Grandparent 🟠 py
1316 Distinct Echo Substrings πŸ”΄
βœ… 1317 Convert Integer to the Sum of Two No-Zero Integers 🟒 py
βœ… 1318 Minimum Flips to Make a OR b Equal to c 🟠 py
βœ… 1319 Number of Operations to Make Network Connected 🟠 py
1320 Minimum Distance to Type a Word Using Two Fingers πŸ”΄
πŸ”’ 1321 Restaurant Growth 🟠
πŸ”’ 1322 Ads Performance 🟒
βœ… 1323 Maximum 69 Number 🟒 py
βœ… 1324 Print Words Vertically 🟠 py
βœ… 1325 Delete Leaves With a Given Value 🟠 py
βœ… 1326 Minimum Number of Taps to Open to Water a Garden πŸ”΄ py
πŸ”’ 1327 List the Products Ordered in a Period 🟒
βœ… 1328 Break a Palindrome 🟠 py
βœ… 1329 Sort the Matrix Diagonally 🟠 py
1330 Reverse Subarray To Maximize Array Value πŸ”΄
βœ… 1331 Rank Transform of an Array 🟒 py
βœ… 1332 Remove Palindromic Subsequences 🟒 py
1333 Filter Restaurants by Vegan-Friendly, Price and Distance 🟠
βœ… 1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance 🟠 py
βœ… 1335 Minimum Difficulty of a Job Schedule πŸ”΄ py
πŸ”’ 1336 Number of Transactions per Visit πŸ”΄
βœ… 1337 The K Weakest Rows in a Matrix 🟒 py
βœ… 1338 Reduce Array Size to The Half 🟠 py
cpp
βœ… 1339 Maximum Product of Splitted Binary Tree 🟠 py
1340 Jump Game V πŸ”΄
πŸ”’ 1341 Movie Rating 🟠
βœ… 1342 Number of Steps to Reduce a Number to Zero 🟒 py
cpp
βœ… 1343 Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold 🟠 py
βœ… 1344 Angle Between Hands of a Clock 🟠 py
βœ… 1345 Jump Game IV πŸ”΄ py
βœ… 1346 Check If N and Its Double Exist 🟒 py
βœ… 1347 Minimum Number of Steps to Make Two Strings Anagram 🟠 py
βœ… 1348 Tweet Counts Per Frequency 🟠 py
βœ… 1349 Maximum Students Taking Exam πŸ”΄ py
πŸ”’ 1350 Students With Invalid Departments 🟒
βœ… 1351 Count Negative Numbers in a Sorted Matrix 🟒 py
βœ… 1352 Product of the Last K Numbers 🟠 py
βœ… 1353 Maximum Number of Events That Can Be Attended 🟠 cpp
βœ… 1354 Construct Target Array With Multiple Sums πŸ”΄ py
πŸ”’ 1355 Activity Participants 🟠
βœ… 1356 Sort Integers by The Number of 1 Bits 🟒 py
βœ… 1357 Apply Discount Every n Orders 🟠 py
βœ… 1358 Number of Substrings Containing All Three Characters 🟠 py
βœ… 1359 Count All Valid Pickup and Delivery Options πŸ”΄ py
βœ… 1360 Number of Days Between Two Dates 🟒 py
βœ… 1361 Validate Binary Tree Nodes 🟠 py
cpp
βœ… 1362 Closest Divisors 🟠 py
1363 Largest Multiple of Three πŸ”΄
πŸ”’ 1364 Number of Trusted Contacts of a Customer 🟠
βœ… 1365 How Many Numbers Are Smaller Than the Current Number 🟒 py
βœ… 1366 Rank Teams by Votes 🟠 py
βœ… 1367 Linked List in Binary Tree 🟠 py
βœ… 1368 Minimum Cost to Make at Least One Valid Path in a Grid πŸ”΄ py
πŸ”’ 1369 Get the Second Most Recent Activity πŸ”΄
βœ… 1370 Increasing Decreasing String 🟒 py
cpp
βœ… 1371 Find the Longest Substring Containing Vowels in Even Counts 🟠 py
1372 Longest ZigZag Path in a Binary Tree 🟠
1373 Maximum Sum BST in Binary Tree πŸ”΄
βœ… 1374 Generate a String With Characters That Have Odd Counts 🟒 py
βœ… 1375 Number of Times Binary String Is Prefix-Aligned 🟠 py
cpp
βœ… 1376 Time Needed to Inform All Employees 🟠 py
1377 Frog Position After T Seconds πŸ”΄
πŸ”’ 1378 Replace Employee ID With The Unique Identifier 🟒
βœ… 1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree 🟒 py
βœ… 1380 Lucky Numbers in a Matrix 🟒 py
βœ… 1381 Design a Stack With Increment Operation 🟠 py
βœ… 1382 Balance a Binary Search Tree 🟠 py
βœ… 1383 Maximum Performance of a Team πŸ”΄ py
πŸ”’ 1384 Total Sales Amount by Year πŸ”΄
βœ… 1385 Find the Distance Value Between Two Arrays 🟒 py
βœ… 1386 Cinema Seat Allocation 🟠 py
βœ… 1387 Sort Integers by The Power Value 🟠 py
cpp
βœ… 1388 Pizza With 3n Slices πŸ”΄ py
βœ… 1389 Create Target Array in the Given Order 🟒 py
βœ… 1390 Four Divisors 🟠 py
1391 Check if There is a Valid Path in a Grid 🟠
1392 Longest Happy Prefix πŸ”΄
1393 Capital Gain/Loss 🟠
βœ… 1394 Find Lucky Integer in an Array 🟒 py
βœ… 1395 Count Number of Teams 🟠 py
βœ… 1396 Design Underground System 🟠 py
1397 Find All Good Strings πŸ”΄
πŸ”’ 1398 Customers Who Bought Products A and B but Not C 🟠
βœ… 1399 Count Largest Group 🟒 py
βœ… 1400 Construct K Palindrome Strings 🟠 py
βœ… 1401 Circle and Rectangle Overlapping 🟠 cpp
βœ… 1402 Reducing Dishes πŸ”΄ py
βœ… 1403 Minimum Subsequence in Non-Increasing Order 🟒 py
cpp
βœ… 1404 Number of Steps to Reduce a Number in Binary Representation to One 🟠 py
cpp
βœ… 1405 Longest Happy String 🟠 py
1406 Stone Game III πŸ”΄
1407 Top Travellers 🟒
βœ… 1408 String Matching in an Array 🟒 py
βœ… 1409 Queries on a Permutation With Key 🟠 py
βœ… 1410 HTML Entity Parser 🟠 py
βœ… 1411 Number of Ways to Paint N Γ— 3 Grid πŸ”΄ py
πŸ”’ 1412 Find the Quiet Students in All Exams πŸ”΄
βœ… 1413 Minimum Value to Get Positive Step by Step Sum 🟒 py
βœ… 1414 Find the Minimum Number of Fibonacci Numbers Whose Sum Is K 🟠 py
βœ… 1415 The k-th Lexicographical String of All Happy Strings of Length n 🟠 py
1416 Restore The Array πŸ”΄
βœ… 1417 Reformat The String 🟒 py
βœ… 1418 Display Table of Food Orders in a Restaurant 🟠 py
βœ… 1419 Minimum Number of Frogs Croaking 🟠 py
1420 Build Array Where You Can Find The Maximum Exactly K Comparisons πŸ”΄
πŸ”’ 1421 NPV Queries 🟒
βœ… 1422 Maximum Score After Splitting a String 🟒 py
βœ… 1423 Maximum Points You Can Obtain from Cards 🟠 py
βœ… 1424 Diagonal Traverse II 🟠 py
βœ… 1425 Constrained Subsequence Sum πŸ”΄ py
βœ… πŸ”’ 1426 Counting Elements 🟒 py
βœ… πŸ”’ 1427 Perform String Shifts 🟒 py
βœ… πŸ”’ 1428 Leftmost Column with at Least a One 🟠 py
πŸ”’ 1429 First Unique Number 🟠
πŸ”’ 1430 Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree 🟠
βœ… 1431 Kids With the Greatest Number of Candies 🟒 py
βœ… 1432 Max Difference You Can Get From Changing an Integer 🟠 py
βœ… 1433 Check If a String Can Break Another String 🟠 py
βœ… 1434 Number of Ways to Wear Different Hats to Each Other πŸ”΄ py
πŸ”’ 1435 Create a Session Bar Chart 🟒
βœ… 1436 Destination City 🟒 py
βœ… 1437 Check If All 1's Are at Least Length K Places Away 🟒 py
βœ… 1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit 🟠 py
1439 Find the Kth Smallest Sum of a Matrix With Sorted Rows πŸ”΄
πŸ”’ 1440 Evaluate Boolean Expression 🟠
βœ… 1441 Build an Array With Stack Operations 🟠 py
βœ… 1442 Count Triplets That Can Form Two Arrays of Equal XOR 🟠 py
βœ… 1443 Minimum Time to Collect All Apples in a Tree 🟠 py
1444 Number of Ways of Cutting a Pizza πŸ”΄
πŸ”’ 1445 Apples & Oranges 🟠
βœ… 1446 Consecutive Characters 🟒 py
βœ… 1447 Simplified Fractions 🟠 py
βœ… 1448 Count Good Nodes in Binary Tree 🟠 py
1449 Form Largest Integer With Digits That Add up to Target πŸ”΄
βœ… 1450 Number of Students Doing Homework at a Given Time 🟒 py
βœ… 1451 Rearrange Words in a Sentence 🟠 py
βœ… 1452 People Whose List of Favorite Companies Is Not a Subset of Another List 🟠 py
1453 Maximum Number of Darts Inside of a Circular Dartboard πŸ”΄
πŸ”’ 1454 Active Users 🟠
βœ… 1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence 🟒 py
βœ… 1456 Maximum Number of Vowels in a Substring of Given Length 🟠 py
βœ… 1457 Pseudo-Palindromic Paths in a Binary Tree 🟠 py
1458 Max Dot Product of Two Subsequences πŸ”΄
πŸ”’ 1459 Rectangles Area 🟠
βœ… 1460 Make Two Arrays Equal by Reversing Subarrays 🟒 py
βœ… 1461 Check If a String Contains All Binary Codes of Size K 🟠 py
1462 Course Schedule IV 🟠
βœ… 1463 Cherry Pickup II πŸ”΄ py
βœ… 1464 Maximum Product of Two Elements in an Array 🟒 py
βœ… 1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 🟠 py
βœ… 1466 Reorder Routes to Make All Paths Lead to the City Zero 🟠 py
1467 Probability of a Two Boxes Having The Same Number of Distinct Balls πŸ”΄
πŸ”’ 1468 Calculate Salaries 🟠
πŸ”’ 1469 Find All The Lonely Nodes 🟒
βœ… 1470 Shuffle the Array 🟒 py
1471 The k Strongest Values in an Array 🟠
1472 Design Browser History 🟠
βœ… 1473 Paint House III πŸ”΄ py
πŸ”’ 1474 Delete N Nodes After M Nodes of a Linked List 🟒
βœ… 1475 Final Prices With a Special Discount in a Shop 🟒 py
1476 Subrectangle Queries 🟠
1477 Find Two Non-overlapping Sub-arrays Each With Target Sum 🟠
1478 Allocate Mailboxes πŸ”΄
πŸ”’ 1479 Sales by Day of the Week πŸ”΄
βœ… 1480 Running Sum of 1d Array 🟒 py
1481 Least Number of Unique Integers after K Removals 🟠
βœ… 1482 Minimum Number of Days to Make m Bouquets 🟠 py
1483 Kth Ancestor of a Tree Node πŸ”΄
1484 Group Sold Products By The Date 🟒
πŸ”’ 1485 Clone Binary Tree With Random Pointer 🟠
βœ… 1486 XOR Operation in an Array 🟒 py
1487 Making File Names Unique 🟠
βœ… 1488 Avoid Flood in The City 🟠 py
1489 Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree πŸ”΄
πŸ”’ 1490 Clone N-ary Tree 🟠
βœ… 1491 Average Salary Excluding the Minimum and Maximum Salary 🟒 py
βœ… 1492 The kth Factor of n 🟠 py
1493 Longest Subarray of 1's After Deleting One Element 🟠
βœ… 1494 Parallel Courses II πŸ”΄ py
cpp
πŸ”’ 1495 Friendly Movies Streamed Last Month 🟒
1496 Path Crossing 🟒
1497 Check If Array Pairs Are Divisible by k 🟠
βœ… 1498 Number of Subsequences That Satisfy the Given Sum Condition 🟠 py
1499 Max Value of Equation πŸ”΄
πŸ”’ 1500 Design a File Sharing System 🟠
πŸ”’ 1501 Countries You Can Safely Invest In 🟠
βœ… 1502 Can Make Arithmetic Progression From Sequence 🟒 py
1503 Last Moment Before All Ants Fall Out of a Plank 🟠
1504 Count Submatrices With All Ones 🟠
1505 Minimum Possible Integer After at Most K Adjacent Swaps On Digits πŸ”΄
πŸ”’ 1506 Find Root of N-Ary Tree 🟠
βœ… 1507 Reformat Date 🟒 py
βœ… 1508 Range Sum of Sorted Subarray Sums 🟠 py
cpp
βœ… 1509 Minimum Difference Between Largest and Smallest Value in Three Moves 🟠 py
cpp
βœ… 1510 Stone Game IV πŸ”΄ py
πŸ”’ 1511 Customer Order Frequency 🟒
βœ… 1512 Number of Good Pairs 🟒 py
βœ… 1513 Number of Substrings With Only 1s 🟠 py
βœ… 1514 Path with Maximum Probability 🟠 py
1515 Best Position for a Service Centre πŸ”΄
πŸ”’ 1516 Move Sub-Tree of N-Ary Tree πŸ”΄
πŸ”’ 1517 Find Users With Valid E-Mails 🟒
βœ… 1518 Water Bottles 🟒 py
cpp
βœ… 1519 Number of Nodes in the Sub-Tree With the Same Label 🟠 py
1520 Maximum Number of Non-Overlapping Substrings πŸ”΄
1521 Find a Value of a Mysterious Function Closest to Target πŸ”΄
πŸ”’ 1522 Diameter of N-Ary Tree 🟠
βœ… 1523 Count Odd Numbers in an Interval Range 🟒 py
βœ… 1524 Number of Sub-arrays With Odd Sum 🟠 py
cpp
βœ… 1525 Number of Good Ways to Split a String 🟠 py
βœ… 1526 Minimum Number of Increments on Subarrays to Form a Target Array πŸ”΄ py
1527 Patients With a Condition 🟒
βœ… 1528 Shuffle String 🟒 py
cpp
βœ… 1529 Minimum Suffix Flips 🟠 cpp
1530 Number of Good Leaf Nodes Pairs 🟠
βœ… 1531 String Compression II πŸ”΄ py
πŸ”’ 1532 The Most Recent Three Orders 🟠
πŸ”’ 1533 Find the Index of the Large Integer 🟠
βœ… 1534 Count Good Triplets 🟒 py
cpp
βœ… 1535 Find the Winner of an Array Game 🟠 cpp
1536 Minimum Swaps to Arrange a Binary Grid 🟠
1537 Get the Maximum Score πŸ”΄
πŸ”’ 1538 Guess the Majority in a Hidden Array 🟠
βœ… 1539 Kth Missing Positive Number 🟒 py
βœ… 1540 Can Convert String in K Moves 🟠 java
βœ… 1541 Minimum Insertions to Balance a Parentheses String 🟠 py
1542 Find Longest Awesome Substring πŸ”΄
πŸ”’ 1543 Fix Product Name Format 🟒
βœ… 1544 Make The String Great 🟒 py
βœ… 1545 Find Kth Bit in Nth Binary String 🟠 py
βœ… 1546 Maximum Number of Non-Overlapping Subarrays With Sum Equals Target 🟠 py
βœ… 1547 Minimum Cost to Cut a Stick πŸ”΄ py
πŸ”’ 1548 The Most Similar Path in a Graph πŸ”΄
πŸ”’ 1549 The Most Recent Orders for Each Product 🟠
βœ… 1550 Three Consecutive Odds 🟒 py
βœ… 1551 Minimum Operations to Make Array Equal 🟠 py
βœ… 1552 Magnetic Force Between Two Balls 🟠 py
1553 Minimum Number of Days to Eat N Oranges πŸ”΄
πŸ”’ 1554 Strings Differ by One Character 🟠
πŸ”’ 1555 Bank Account Summary 🟠
βœ… 1556 Thousand Separator 🟒 py
βœ… 1557 Minimum Number of Vertices to Reach All Nodes 🟠 py
1558 Minimum Numbers of Function Calls to Make Target Array 🟠
1559 Detect Cycles in 2D Grid 🟠
βœ… 1560 Most Visited Sector in a Circular Track 🟒 py
cpp
βœ… 1561 Maximum Number of Coins You Can Get 🟠 py
βœ… 1562 Find Latest Group of Size M 🟠 py
cpp
1563 Stone Game V πŸ”΄
πŸ”’ 1564 Put Boxes Into the Warehouse I 🟠
πŸ”’ 1565 Unique Orders and Customers Per Month 🟒
βœ… 1566 Detect Pattern of Length M Repeated K or More Times 🟒 py
cpp
βœ… 1567 Maximum Length of Subarray With Positive Product 🟠 py
cpp
java
βœ… 1568 Minimum Number of Days to Disconnect Island πŸ”΄ py
1569 Number of Ways to Reorder Array to Get Same BST πŸ”΄
πŸ”’ 1570 Dot Product of Two Sparse Vectors 🟠
πŸ”’ 1571 Warehouse Manager 🟒
βœ… 1572 Matrix Diagonal Sum 🟒 py
cpp
βœ… 1573 Number of Ways to Split a String 🟠 py
βœ… 1574 Shortest Subarray to be Removed to Make Array Sorted 🟠 py
cpp
1575 Count All Possible Routes πŸ”΄
βœ… 1576 Replace All ?'s to Avoid Consecutive Repeating Characters 🟒 py
βœ… 1577 Number of Ways Where Square of Number Is Equal to Product of Two Numbers 🟠 py
βœ… 1578 Minimum Time to Make Rope Colorful 🟠 py
1579 Remove Max Number of Edges to Keep Graph Fully Traversable πŸ”΄
πŸ”’ 1580 Put Boxes Into the Warehouse II 🟠
1581 Customer Who Visited but Did Not Make Any Transactions 🟒
βœ… 1582 Special Positions in a Binary Matrix 🟒 py
βœ… 1583 Count Unhappy Friends 🟠 py
βœ… 1584 Min Cost to Connect All Points 🟠 py
1585 Check If String Is Transformable With Substring Sort Operations πŸ”΄
πŸ”’ 1586 Binary Search Tree Iterator II 🟠
1587 Bank Account Summary II 🟒
βœ… 1588 Sum of All Odd Length Subarrays 🟒 py
βœ… 1589 Maximum Sum Obtained of Any Permutation 🟠 py
βœ… 1590 Make Sum Divisible by P 🟠 py
1591 Strange Printer II πŸ”΄
βœ… 1592 Rearrange Spaces Between Words 🟒 py
βœ… 1593 Split a String Into the Max Number of Unique Substrings 🟠 py
βœ… 1594 Maximum Non Negative Product in a Matrix 🟠 py
1595 Minimum Cost to Connect Two Groups of Points πŸ”΄
πŸ”’ 1596 The Most Frequently Ordered Products for Each Customer 🟠
πŸ”’ 1597 Build Binary Expression Tree From Infix Expression πŸ”΄
βœ… 1598 Crawler Log Folder 🟒 py
βœ… 1599 Maximum Profit of Operating a Centennial Wheel 🟠 py
1600 Throne Inheritance 🟠
1601 Maximum Number of Achievable Transfer Requests πŸ”΄
πŸ”’ 1602 Find Nearest Right Node in Binary Tree 🟠
βœ… 1603 Design Parking System 🟒 py
βœ… 1604 Alert Using Same Key-Card Three or More Times in a One Hour Period 🟠 py
βœ… 1605 Find Valid Matrix Given Row and Column Sums 🟠 py
1606 Find Servers That Handled Most Number of Requests πŸ”΄
πŸ”’ 1607 Sellers With No Sales 🟒
βœ… 1608 Special Array With X Elements Greater Than or Equal X 🟒 py
βœ… 1609 Even Odd Tree 🟠 py
βœ… 1610 Maximum Number of Visible Points πŸ”΄ py
1611 Minimum One Bit Operations to Make Integers Zero πŸ”΄
πŸ”’ 1612 Check If Two Expression Trees are Equivalent 🟠
πŸ”’ 1613 Find the Missing IDs 🟠
βœ… 1614 Maximum Nesting Depth of the Parentheses 🟒 py
βœ… 1615 Maximal Network Rank 🟠 py
βœ… 1616 Split Two Strings to Make Palindrome 🟠 py
cpp
1617 Count Subtrees With Max Distance Between Cities πŸ”΄
πŸ”’ 1618 Maximum Font to Fit a Sentence in a Screen 🟠
βœ… 1619 Mean of Array After Removing Some Elements 🟒 py
βœ… 1620 Coordinate With Maximum Network Quality 🟠 py
1621 Number of Sets of K Non-Overlapping Line Segments 🟠
1622 Fancy Sequence πŸ”΄
πŸ”’ 1623 All Valid Triplets That Can Represent a Country 🟒
βœ… 1624 Largest Substring Between Two Equal Characters 🟒 py
βœ… 1625 Lexicographically Smallest String After Applying Operations 🟠 py
βœ… 1626 Best Team With No Conflicts 🟠 py
1627 Graph Connectivity With Threshold πŸ”΄
πŸ”’ 1628 Design an Expression Tree With Evaluate Function 🟠
βœ… 1629 Slowest Key 🟒 py
βœ… 1630 Arithmetic Subarrays 🟠 py
βœ… 1631 Path With Minimum Effort 🟠 py
βœ… 1632 Rank Transform of a Matrix πŸ”΄ py
πŸ”’ 1633 Percentage of Users Attended a Contest 🟒
πŸ”’ 1634 Add Two Polynomials Represented as Linked Lists 🟠
πŸ”’ 1635 Hopper Company Queries I πŸ”΄
βœ… 1636 Sort Array by Increasing Frequency 🟒 py
βœ… 1637 Widest Vertical Area Between Two Points Containing No Points 🟠 py
βœ… 1638 Count Substrings That Differ by One Character 🟠 py
βœ… 1639 Number of Ways to Form a Target String Given a Dictionary πŸ”΄ py
βœ… 1640 Check Array Formation Through Concatenation 🟒 py
βœ… 1641 Count Sorted Vowel Strings 🟠 py
βœ… 1642 Furthest Building You Can Reach 🟠 py
1643 Kth Smallest Instructions πŸ”΄
πŸ”’ 1644 Lowest Common Ancestor of a Binary Tree II 🟠
πŸ”’ 1645 Hopper Company Queries II πŸ”΄
βœ… 1646 Get Maximum in Generated Array 🟒 py
βœ… 1647 Minimum Deletions to Make Character Frequencies Unique 🟠 py
βœ… 1648 Sell Diminishing-Valued Colored Balls 🟠 py
βœ… 1649 Create Sorted Array through Instructions πŸ”΄ py
πŸ”’ 1650 Lowest Common Ancestor of a Binary Tree III 🟠
πŸ”’ 1651 Hopper Company Queries III πŸ”΄
βœ… 1652 Defuse the Bomb 🟒 py
βœ… 1653 Minimum Deletions to Make String Balanced 🟠 py
βœ… 1654 Minimum Jumps to Reach Home 🟠 py
βœ… 1655 Distribute Repeating Integers πŸ”΄ py
βœ… 1656 Design an Ordered Stream 🟒 py
βœ… 1657 Determine if Two Strings Are Close 🟠 py
βœ… 1658 Minimum Operations to Reduce X to Zero 🟠 py
βœ… 1659 Maximize Grid Happiness πŸ”΄ py
πŸ”’ 1660 Correct a Binary Tree 🟠
πŸ”’ 1661 Average Time of Process per Machine 🟒
βœ… 1662 Check If Two String Arrays are Equivalent 🟒 py
cpp
βœ… 1663 Smallest String With A Given Numeric Value 🟠 py
βœ… 1664 Ways to Make a Fair Array 🟠 py
βœ… 1665 Minimum Initial Energy to Finish Tasks πŸ”΄ py
πŸ”’ 1666 Change the Root of a Binary Tree 🟠
1667 Fix Names in a Table 🟒
βœ… 1668 Maximum Repeating Substring 🟒 py
βœ… 1669 Merge In Between Linked Lists 🟠 py
cpp
βœ… 1670 Design Front Middle Back Queue 🟠 py
1671 Minimum Number of Removals to Make Mountain Array πŸ”΄
βœ… 1672 Richest Customer Wealth 🟒 py
βœ… 1673 Find the Most Competitive Subsequence 🟠 py
1674 Minimum Moves to Make Array Complementary 🟠
βœ… 1675 Minimize Deviation in Array πŸ”΄ py
πŸ”’ 1676 Lowest Common Ancestor of a Binary Tree IV 🟠
πŸ”’ 1677 Product's Worth Over Invoices 🟒
βœ… 1678 Goal Parser Interpretation 🟒 py
βœ… 1679 Max Number of K-Sum Pairs 🟠 py
βœ… 1680 Concatenation of Consecutive Binary Numbers 🟠 py
βœ… 1681 Minimum Incompatibility πŸ”΄ py
πŸ”’ 1682 Longest Palindromic Subsequence II 🟠
πŸ”’ 1683 Invalid Tweets 🟒
βœ… 1684 Count the Number of Consistent Strings 🟒 py
βœ… 1685 Sum of Absolute Differences in a Sorted Array 🟠 py
βœ… 1686 Stone Game VI 🟠 py
1687 Delivering Boxes from Storage to Ports πŸ”΄
βœ… 1688 Count of Matches in Tournament 🟒 py
βœ… 1689 Partitioning Into Minimum Number Of Deci-Binary Numbers 🟠 py
βœ… 1690 Stone Game VII 🟠 py
1691 Maximum Height by Stacking Cuboids πŸ”΄
πŸ”’ 1692 Count Ways to Distribute Candies πŸ”΄
1693 Daily Leads and Partners 🟒
βœ… 1694 Reformat Phone Number 🟒 py
βœ… 1695 Maximum Erasure Value 🟠 py
βœ… 1696 Jump Game VI 🟠 py
1697 Checking Existence of Edge Length Limited Paths πŸ”΄
πŸ”’ 1698 Number of Distinct Substrings in a String 🟠
πŸ”’ 1699 Number of Calls Between Two Persons 🟠
βœ… 1700 Number of Students Unable to Eat Lunch 🟒 py
βœ… 1701 Average Waiting Time 🟠 py
βœ… 1702 Maximum Binary String After Change 🟠 py
βœ… 1703 Minimum Adjacent Swaps for K Consecutive Ones πŸ”΄ py
βœ… 1704 Determine if String Halves Are Alike 🟒 py
βœ… 1705 Maximum Number of Eaten Apples 🟠 py
βœ… 1706 Where Will the Ball Fall 🟠 py
1707 Maximum XOR With an Element From Array πŸ”΄
πŸ”’ 1708 Largest Subarray Length K 🟒
πŸ”’ 1709 Biggest Window Between Visits 🟠
βœ… 1710 Maximum Units on a Truck 🟒 py
βœ… 1711 Count Good Meals 🟠 py
βœ… 1712 Ways to Split Array Into Three Subarrays 🟠 py
cpp
java
βœ… 1713 Minimum Operations to Make a Subsequence πŸ”΄ py
πŸ”’ 1714 Sum Of Special Evenly-Spaced Elements In Array πŸ”΄
πŸ”’ 1715 Count Apples and Oranges 🟠
βœ… 1716 Calculate Money in Leetcode Bank 🟒 py
βœ… 1717 Maximum Score From Removing Substrings 🟠 py
βœ… 1718 Construct the Lexicographically Largest Valid Sequence 🟠 py
1719 Number Of Ways To Reconstruct A Tree πŸ”΄
βœ… 1720 Decode XORed Array 🟒 py
βœ… 1721 Swapping Nodes in a Linked List 🟠 py
βœ… 1722 Minimize Hamming Distance After Swap Operations 🟠 py
βœ… 1723 Find Minimum Time to Finish All Jobs πŸ”΄ py
πŸ”’ 1724 Checking Existence of Edge Length Limited Paths II πŸ”΄
βœ… 1725 Number Of Rectangles That Can Form The Largest Square 🟒 py
βœ… 1726 Tuple with Same Product 🟠 py
βœ… 1727 Largest Submatrix With Rearrangements 🟠 py
1728 Cat and Mouse II πŸ”΄
1729 Find Followers Count 🟒
πŸ”’ 1730 Shortest Path to Get Food 🟠
πŸ”’ 1731 The Number of Employees Which Report to Each Employee 🟒
βœ… 1732 Find the Highest Altitude 🟒 py
βœ… 1733 Minimum Number of People to Teach 🟠 py
βœ… 1734 Decode XORed Permutation 🟠 py
1735 Count Ways to Make Array With Product πŸ”΄
βœ… 1736 Latest Time by Replacing Hidden Digits 🟒 py
βœ… 1737 Change Minimum Characters to Satisfy One of Three Conditions 🟠 py
βœ… 1738 Find Kth Largest XOR Coordinate Value 🟠 py
1739 Building Boxes πŸ”΄
πŸ”’ 1740 Find Distance in a Binary Tree 🟠
1741 Find Total Time Spent by Each Employee 🟒
βœ… 1742 Maximum Number of Balls in a Box 🟒 py
βœ… 1743 Restore the Array From Adjacent Pairs 🟠 py
βœ… 1744 Can You Eat Your Favorite Candy on Your Favorite Day? 🟠 py
1745 Palindrome Partitioning IV πŸ”΄
πŸ”’ 1746 Maximum Subarray Sum After One Operation 🟠
πŸ”’ 1747 Leetflex Banned Accounts 🟠
βœ… 1748 Sum of Unique Elements 🟒 py
βœ… 1749 Maximum Absolute Sum of Any Subarray 🟠 py
βœ… 1750 Minimum Length of String After Deleting Similar Ends 🟠 py
1751 Maximum Number of Events That Can Be Attended II πŸ”΄
βœ… 1752 Check if Array Is Sorted and Rotated 🟒 py
βœ… 1753 Maximum Score From Removing Stones 🟠 py
cpp
βœ… 1754 Largest Merge Of Two Strings 🟠 py
cpp
βœ… 1755 Closest Subsequence Sum πŸ”΄ py
πŸ”’ 1756 Design Most Recently Used Queue 🟠
1757 Recyclable and Low Fat Products 🟒
βœ… 1758 Minimum Changes To Make Alternating Binary String 🟒 py
βœ… 1759 Count Number of Homogenous Substrings 🟠 py
βœ… 1760 Minimum Limit of Balls in a Bag 🟠 py
1761 Minimum Degree of a Connected Trio in a Graph πŸ”΄
πŸ”’ 1762 Buildings With an Ocean View 🟠
βœ… 1763 Longest Nice Substring 🟒 py
βœ… 1764 Form Array by Concatenating Subarrays of Another Array 🟠 py
βœ… 1765 Map of Highest Peak 🟠 py
1766 Tree of Coprimes πŸ”΄
πŸ”’ 1767 Find the Subtasks That Did Not Execute πŸ”΄
βœ… 1768 Merge Strings Alternately 🟒 py
βœ… 1769 Minimum Number of Operations to Move All Balls to Each Box 🟠 py
βœ… 1770 Maximum Score from Performing Multiplication Operations πŸ”΄ py
1771 Maximize Palindrome Length From Subsequences πŸ”΄
πŸ”’ 1772 Sort Features by Popularity 🟠
βœ… 1773 Count Items Matching a Rule 🟒 py
βœ… 1774 Closest Dessert Cost 🟠 py
βœ… 1775 Equal Sum Arrays With Minimum Number of Operations 🟠 py
1776 Car Fleet II πŸ”΄
πŸ”’ 1777 Product's Price for Each Store 🟒
πŸ”’ 1778 Shortest Path in a Hidden Grid 🟠
βœ… 1779 Find Nearest Point That Has the Same X or Y Coordinate 🟒 py
βœ… 1780 Check if Number is a Sum of Powers of Three 🟠 py
βœ… 1781 Sum of Beauty of All Substrings 🟠 py
1782 Count Pairs Of Nodes πŸ”΄
πŸ”’ 1783 Grand Slam Titles 🟠
βœ… 1784 Check if Binary String Has at Most One Segment of Ones 🟒 py
βœ… 1785 Minimum Elements to Add to Form a Given Sum 🟠 py
βœ… 1786 Number of Restricted Paths From First to Last Node 🟠 py
1787 Make the XOR of All Segments Equal to Zero πŸ”΄
πŸ”’ 1788 Maximize the Beauty of the Garden πŸ”΄
πŸ”’ 1789 Primary Department for Each Employee 🟒
βœ… 1790 Check if One String Swap Can Make Strings Equal 🟒 py
βœ… 1791 Find Center of Star Graph 🟒 py
βœ… 1792 Maximum Average Pass Ratio 🟠 py
βœ… 1793 Maximum Score of a Good Subarray πŸ”΄ py
πŸ”’ 1794 Count Pairs of Equal Substrings With Minimum Difference 🟠
1795 Rearrange Products Table 🟒
βœ… 1796 Second Largest Digit in a String 🟒 py
βœ… 1797 Design Authentication Manager 🟠 py
βœ… 1798 Maximum Number of Consecutive Values You Can Make 🟠 py
βœ… 1799 Maximize Score After N Operations πŸ”΄ py
βœ… 1800 Maximum Ascending Subarray Sum 🟒 py
βœ… 1801 Number of Orders in the Backlog 🟠 py
βœ… 1802 Maximum Value at a Given Index in a Bounded Array 🟠 py
1803 Count Pairs With XOR in a Range πŸ”΄
πŸ”’ 1804 Implement Trie II (Prefix Tree) 🟠
βœ… 1805 Number of Different Integers in a String 🟒 py
βœ… 1806 Minimum Number of Operations to Reinitialize a Permutation 🟠 py
βœ… 1807 Evaluate the Bracket Pairs of a String 🟠 py
1808 Maximize Number of Nice Divisors πŸ”΄
πŸ”’ 1809 Ad-Free Sessions 🟒
πŸ”’ 1810 Minimum Path Cost in a Hidden Grid 🟠
πŸ”’ 1811 Find Interview Candidates 🟠
βœ… 1812 Determine Color of a Chessboard Square 🟒 py
βœ… 1813 Sentence Similarity III 🟠 py
βœ… 1814 Count Nice Pairs in an Array 🟠 py
1815 Maximum Number of Groups Getting Fresh Donuts πŸ”΄
βœ… 1816 Truncate Sentence 🟒 py
βœ… 1817 Finding the Users Active Minutes 🟠 py
βœ… 1818 Minimum Absolute Sum Difference 🟠 py
1819 Number of Different Subsequences GCDs πŸ”΄
πŸ”’ 1820 Maximum Number of Accepted Invitations 🟠
πŸ”’ 1821 Find Customers With Positive Revenue this Year 🟒
βœ… 1822 Sign of the Product of an Array 🟒 py
βœ… 1823 Find the Winner of the Circular Game 🟠 py
βœ… 1824 Minimum Sideway Jumps 🟠 py
βœ… 1825 Finding MK Average πŸ”΄ py
πŸ”’ 1826 Faulty Sensor 🟒
βœ… 1827 Minimum Operations to Make the Array Increasing 🟒 py
βœ… 1828 Queries on Number of Points Inside a Circle 🟠 py
βœ… 1829 Maximum XOR for Each Query 🟠 py
1830 Minimum Number of Operations to Make String Sorted πŸ”΄
πŸ”’ 1831 Maximum Transaction Each Day 🟠
βœ… 1832 Check if the Sentence Is Pangram 🟒 py
βœ… 1833 Maximum Ice Cream Bars 🟠 py
βœ… 1834 Single-Threaded CPU 🟠 py
βœ… 1835 Find XOR Sum of All Pairs Bitwise AND πŸ”΄ py
πŸ”’ 1836 Remove Duplicates From an Unsorted Linked List 🟠
βœ… 1837 Sum of Digits in Base K 🟒 py
βœ… 1838 Frequency of the Most Frequent Element 🟠 py
βœ… 1839 Longest Substring Of All Vowels in Order 🟠 py
1840 Maximum Building Height πŸ”΄
πŸ”’ 1841 League Statistics 🟠
πŸ”’ 1842 Next Palindrome Using Same Digits πŸ”΄
πŸ”’ 1843 Suspicious Bank Accounts 🟠
βœ… 1844 Replace All Digits with Characters 🟒 py
βœ… 1845 Seat Reservation Manager 🟠 py
βœ… 1846 Maximum Element After Decreasing and Rearranging 🟠 py
βœ… 1847 Closest Room πŸ”΄ py
βœ… 1848 Minimum Distance to the Target Element 🟒 py
βœ… 1849 Splitting a String Into Descending Consecutive Values 🟠 py
βœ… 1850 Minimum Adjacent Swaps to Reach the Kth Smallest Number 🟠 py
βœ… 1851 Minimum Interval to Include Each Query πŸ”΄ py
πŸ”’ 1852 Distinct Numbers in Each Subarray 🟠
πŸ”’ 1853 Convert Date Format 🟒
βœ… 1854 Maximum Population Year 🟒 py
βœ… 1855 Maximum Distance Between a Pair of Values 🟠 py
βœ… 1856 Maximum Subarray Min-Product 🟠 py
1857 Largest Color Value in a Directed Graph πŸ”΄
πŸ”’ 1858 Longest Word With All Prefixes 🟠
βœ… 1859 Sorting the Sentence 🟒 py
βœ… 1860 Incremental Memory Leak 🟠 py
βœ… 1861 Rotating the Box 🟠 py
cpp
βœ… 1862 Sum of Floored Pairs πŸ”΄ py
cpp
βœ… 1863 Sum of All Subset XOR Totals 🟒 py
βœ… 1864 Minimum Number of Swaps to Make the Binary String Alternating 🟠 py
βœ… 1865 Finding Pairs With a Certain Sum 🟠 py
βœ… 1866 Number of Ways to Rearrange Sticks With K Sticks Visible πŸ”΄ py
πŸ”’ 1867 Orders With Maximum Quantity Above Average 🟠
πŸ”’ 1868 Product of Two Run-Length Encoded Arrays 🟠
βœ… 1869 Longer Contiguous Segments of Ones than Zeros 🟒 py
βœ… 1870 Minimum Speed to Arrive on Time 🟠 py
βœ… 1871 Jump Game VII 🟠 py
βœ… 1872 Stone Game VIII πŸ”΄ py
1873 Calculate Special Bonus 🟒
πŸ”’ 1874 Minimize Product Sum of Two Arrays 🟠
πŸ”’ 1875 Group Employees of the Same Salary 🟠
βœ… 1876 Substrings of Size Three with Distinct Characters 🟒 py
βœ… 1877 Minimize Maximum Pair Sum in Array 🟠 py
βœ… 1878 Get Biggest Three Rhombus Sums in a Grid 🟠 py
βœ… 1879 Minimum XOR Sum of Two Arrays πŸ”΄ py
βœ… 1880 Check if Word Equals Summation of Two Words 🟒 py
βœ… 1881 Maximum Value after Insertion 🟠 py
βœ… 1882 Process Tasks Using Servers 🟠 py
1883 Minimum Skips to Arrive at Meeting On Time πŸ”΄
1884 Egg Drop With 2 Eggs and N Floors 🟠
πŸ”’ 1885 Count Pairs in Two Arrays 🟠
βœ… 1886 Determine Whether Matrix Can Be Obtained By Rotation 🟒 py
βœ… 1887 Reduction Operations to Make the Array Elements Equal 🟠 py
βœ… 1888 Minimum Number of Flips to Make the Binary String Alternating 🟠 py
βœ… 1889 Minimum Space Wasted From Packaging πŸ”΄ py
1890 The Latest Login in 2020 🟒
πŸ”’ 1891 Cutting Ribbons 🟠
πŸ”’ 1892 Page Recommendations II πŸ”΄
βœ… 1893 Check if All the Integers in a Range Are Covered 🟒 py
βœ… 1894 Find the Student that Will Replace the Chalk 🟠 py
βœ… 1895 Largest Magic Square 🟠 py
1896 Minimum Cost to Change the Final Value of Expression πŸ”΄
βœ… 1897 Redistribute Characters to Make All Strings Equal 🟒 py
βœ… 1898 Maximum Number of Removable Characters 🟠 py
βœ… 1899 Merge Triplets to Form Target Triplet 🟠 py
1900 The Earliest and Latest Rounds Where Players Compete πŸ”΄
βœ… 1901 Find a Peak Element II 🟠 py
πŸ”’ 1902 Depth of BST Given Insertion Order 🟠
βœ… 1903 Largest Odd Number in String 🟒 py
βœ… 1904 The Number of Full Rounds You Have Played 🟠 py
βœ… 1905 Count Sub Islands 🟠 py
βœ… 1906 Minimum Absolute Difference Queries 🟠 py
πŸ”’ 1907 Count Salary Categories 🟠
πŸ”’ 1908 Game of Nim 🟠
βœ… 1909 Remove One Element to Make the Array Strictly Increasing 🟒 py
βœ… 1910 Remove All Occurrences of a Substring 🟠 py
βœ… 1911 Maximum Alternating Subsequence Sum 🟠 py
βœ… 1912 Design Movie Rental System πŸ”΄ py
βœ… 1913 Maximum Product Difference Between Two Pairs 🟒 py
βœ… 1914 Cyclically Rotating a Grid 🟠 py
βœ… 1915 Number of Wonderful Substrings 🟠 py
1916 Count Ways to Build Rooms in an Ant Colony πŸ”΄
πŸ”’ 1917 Leetcodify Friends Recommendations πŸ”΄
πŸ”’ 1918 Kth Smallest Subarray Sum 🟠
πŸ”’ 1919 Leetcodify Similar Friends πŸ”΄
βœ… 1920 Build Array from Permutation 🟒 py
βœ… 1921 Eliminate Maximum Number of Monsters 🟠 py
βœ… 1922 Count Good Numbers 🟠 py
cpp
1923 Longest Common Subpath πŸ”΄
πŸ”’ 1924 Erect the Fence II πŸ”΄
βœ… 1925 Count Square Sum Triples 🟒 py
βœ… 1926 Nearest Exit from Entrance in Maze 🟠 py
βœ… 1927 Sum Game 🟠 py
1928 Minimum Cost to Reach Destination in Time πŸ”΄
βœ… 1929 Concatenation of Array 🟒 py
βœ… 1930 Unique Length-3 Palindromic Subsequences 🟠 py
1931 Painting a Grid With Three Different Colors πŸ”΄
1932 Merge BSTs to Create Single BST πŸ”΄
πŸ”’ 1933 Check if String Is Decomposable Into Value-Equal Substrings 🟒
πŸ”’ 1934 Confirmation Rate 🟠
βœ… 1935 Maximum Number of Words You Can Type 🟒 py
βœ… 1936 Add Minimum Number of Rungs 🟠 py
βœ… 1937 Maximum Number of Points with Cost 🟠 py
1938 Maximum Genetic Difference Query πŸ”΄
πŸ”’ 1939 Users That Actively Request Confirmation Messages 🟒
πŸ”’ 1940 Longest Common Subsequence Between Sorted Arrays 🟠
βœ… 1941 Check if All Characters Have Equal Number of Occurrences 🟒 py
βœ… 1942 The Number of the Smallest Unoccupied Chair 🟠 py
βœ… 1943 Describe the Painting 🟠 py
βœ… 1944 Number of Visible People in a Queue πŸ”΄ py
βœ… 1945 Sum of Digits of String After Convert 🟒 py
βœ… 1946 Largest Number After Mutating Substring 🟠 py
βœ… 1947 Maximum Compatibility Score Sum 🟠 py
1948 Delete Duplicate Folders in System πŸ”΄
πŸ”’ 1949 Strong Friendship 🟠
πŸ”’ 1950 Maximum of Minimum Values in All Subarrays 🟠
πŸ”’ 1951 All the Pairs With the Maximum Number of Common Followers 🟠
βœ… 1952 Three Divisors 🟒 py
βœ… 1953 Maximum Number of Weeks for Which You Can Work 🟠 py
βœ… 1954 Minimum Garden Perimeter to Collect Enough Apples 🟠 py
βœ… 1955 Count Number of Special Subsequences πŸ”΄ py
πŸ”’ 1956 Minimum Time For K Virus Variants to Spread πŸ”΄
βœ… 1957 Delete Characters to Make Fancy String 🟒 py
βœ… 1958 Check if Move is Legal 🟠 py
1959 Minimum Total Space Wasted With K Resizing Operations 🟠
1960 Maximum Product of the Length of Two Palindromic Substrings πŸ”΄
βœ… 1961 Check If String Is a Prefix of Array 🟒 py
βœ… 1962 Remove Stones to Minimize the Total 🟠 py
βœ… 1963 Minimum Number of Swaps to Make the String Balanced 🟠 py
βœ… 1964 Find the Longest Valid Obstacle Course at Each Position πŸ”΄ py
1965 Employees With Missing Information 🟒
πŸ”’ 1966 Binary Searchable Numbers in an Unsorted Array 🟠
βœ… 1967 Number of Strings That Appear as Substrings in Word 🟒 py
βœ… 1968 Array With Elements Not Equal to Average of Neighbors 🟠 py
βœ… 1969 Minimum Non-Zero Product of the Array Elements 🟠 py
βœ… 1970 Last Day Where You Can Still Cross πŸ”΄ py
βœ… 1971 Find if Path Exists in Graph 🟒 py
πŸ”’ 1972 First and Last Call On the Same Day πŸ”΄
πŸ”’ 1973 Count Nodes Equal to Sum of Descendants 🟠
βœ… 1974 Minimum Time to Type Word Using Special Typewriter 🟒 py
βœ… 1975 Maximum Matrix Sum 🟠 py
βœ… 1976 Number of Ways to Arrive at Destination 🟠 py
1977 Number of Ways to Separate Numbers πŸ”΄
πŸ”’ 1978 Employees Whose Manager Left the Company 🟒
βœ… 1979 Find Greatest Common Divisor of Array 🟒 py
βœ… 1980 Find Unique Binary String 🟠 py
βœ… 1981 Minimize the Difference Between Target and Chosen Elements 🟠 py
1982 Find Array Given Subset Sums πŸ”΄
πŸ”’ 1983 Widest Pair of Indices With Equal Range Sum 🟠
βœ… 1984 Minimum Difference Between Highest and Lowest of K Scores 🟒 py
βœ… 1985 Find the Kth Largest Integer in the Array 🟠 py
βœ… 1986 Minimum Number of Work Sessions to Finish the Tasks 🟠 py
1987 Number of Unique Good Subsequences πŸ”΄
πŸ”’ 1988 Find Cutoff Score for Each School 🟠
πŸ”’ 1989 Maximum Number of People That Can Be Caught in Tag 🟠
πŸ”’ 1990 Count the Number of Experiments 🟠
βœ… 1991 Find the Middle Index in Array 🟒 py
βœ… 1992 Find All Groups of Farmland 🟠 py
βœ… 1993 Operations on Tree 🟠 py
1994 The Number of Good Subsets πŸ”΄
βœ… 1995 Count Special Quadruplets 🟒 py
βœ… 1996 The Number of Weak Characters in the Game 🟠 py
βœ… 1997 First Day Where You Have Been in All the Rooms 🟠 py
1998 GCD Sort of an Array πŸ”΄
πŸ”’ 1999 Smallest Greater Multiple Made of Two Digits 🟠
βœ… 2000 Reverse Prefix of Word 🟒 py
βœ… 2001 Number of Pairs of Interchangeable Rectangles 🟠 py
βœ… 2002 Maximum Product of the Length of Two Palindromic Subsequences 🟠 py
2003 Smallest Missing Genetic Value in Each Subtree πŸ”΄
πŸ”’ 2004 The Number of Seniors and Juniors to Join the Company πŸ”΄
πŸ”’ 2005 Subtree Removal Game with Fibonacci Tree πŸ”΄
βœ… 2006 Count Number of Pairs With Absolute Difference K 🟒 py
βœ… 2007 Find Original Array From Doubled Array 🟠 py
βœ… 2008 Maximum Earnings From Taxi 🟠 py
βœ… 2009 Minimum Number of Operations to Make Array Continuous πŸ”΄ py
πŸ”’ 2010 The Number of Seniors and Juniors to Join the Company II πŸ”΄
βœ… 2011 Final Value of Variable After Performing Operations 🟒 py
βœ… 2012 Sum of Beauty in the Array 🟠 py
βœ… 2013 Detect Squares 🟠 py
βœ… 2014 Longest Subsequence Repeated k Times πŸ”΄ py
πŸ”’ 2015 Average Height of Buildings in Each Segment 🟠
βœ… 2016 Maximum Difference Between Increasing Elements 🟒 py
βœ… 2017 Grid Game 🟠 py
βœ… 2018 Check if Word Can Be Placed In Crossword 🟠 py
βœ… 2019 The Score of Students Solving Math Expression πŸ”΄ py
πŸ”’ 2020 Number of Accounts That Did Not Stream 🟠
πŸ”’ 2021 Brightest Position on Street 🟠
βœ… 2022 Convert 1D Array Into 2D Array 🟒 py
βœ… 2023 Number of Pairs of Strings With Concatenation Equal to Target 🟠 py
βœ… 2024 Maximize the Confusion of an Exam 🟠 py
2025 Maximum Number of Ways to Partition an Array πŸ”΄
πŸ”’ 2026 Low-Quality Problems 🟒
βœ… 2027 Minimum Moves to Convert String 🟒 py
βœ… 2028 Find Missing Observations 🟠 py
2029 Stone Game IX 🟠
2030 Smallest K-Length Subsequence With Occurrences of a Letter πŸ”΄
πŸ”’ 2031 Count Subarrays With More Ones Than Zeros 🟠
βœ… 2032 Two Out of Three 🟒 py
βœ… 2033 Minimum Operations to Make a Uni-Value Grid 🟠 py
βœ… 2034 Stock Price Fluctuation 🟠 py
βœ… 2035 Partition Array Into Two Arrays to Minimize Sum Difference πŸ”΄ py
πŸ”’ 2036 Maximum Alternating Subarray Sum 🟠
βœ… 2037 Minimum Number of Moves to Seat Everyone 🟒 py
βœ… 2038 Remove Colored Pieces if Both Neighbors are the Same Color 🟠 py
βœ… 2039 The Time When the Network Becomes Idle 🟠 py
βœ… 2040 Kth Smallest Product of Two Sorted Arrays πŸ”΄ py
πŸ”’ 2041 Accepted Candidates From the Interviews 🟠
βœ… 2042 Check if Numbers Are Ascending in a Sentence 🟒 py
βœ… 2043 Simple Bank System 🟠 py
βœ… 2044 Count Number of Maximum Bitwise-OR Subsets 🟠 py
2045 Second Minimum Time to Reach Destination πŸ”΄
πŸ”’ 2046 Sort Linked List Already Sorted Using Absolute Values 🟠
βœ… 2047 Number of Valid Words in a Sentence 🟒 py
βœ… 2048 Next Greater Numerically Balanced Number 🟠 py
βœ… 2049 Count Nodes With the Highest Score 🟠 py
βœ… 2050 Parallel Courses III πŸ”΄ py
πŸ”’ 2051 The Category of Each Member in the Store 🟠
πŸ”’ 2052 Minimum Cost to Separate Sentence Into Rows 🟠
βœ… 2053 Kth Distinct String in an Array 🟒 py
βœ… 2054 Two Best Non-Overlapping Events 🟠 py
βœ… 2055 Plates Between Candles 🟠 py
2056 Number of Valid Move Combinations On Chessboard πŸ”΄
βœ… 2057 Smallest Index With Equal Value 🟒 py
βœ… 2058 Find the Minimum and Maximum Number of Nodes Between Critical Points 🟠 py
βœ… 2059 Minimum Operations to Convert Number 🟠 py
2060 Check if an Original String Exists Given Two Encoded Strings πŸ”΄
πŸ”’ 2061 Number of Spaces Cleaning Robot Cleaned 🟠
βœ… 2062 Count Vowel Substrings of a String 🟒 py
βœ… 2063 Vowels of All Substrings 🟠 py
βœ… 2064 Minimized Maximum of Products Distributed to Any Store 🟠 py
βœ… 2065 Maximum Path Quality of a Graph πŸ”΄ py
πŸ”’ 2066 Account Balance 🟠
πŸ”’ 2067 Number of Equal Count Substrings 🟠
βœ… 2068 Check Whether Two Strings are Almost Equivalent 🟒 py
βœ… 2069 Walking Robot Simulation II 🟠 py
βœ… 2070 Most Beautiful Item for Each Query 🟠 py
2071 Maximum Number of Tasks You Can Assign πŸ”΄
πŸ”’ 2072 The Winner University 🟒
βœ… 2073 Time Needed to Buy Tickets 🟒 py
βœ… 2074 Reverse Nodes in Even Length Groups 🟠 py
βœ… 2075 Decode the Slanted Ciphertext 🟠 py
βœ… 2076 Process Restricted Friend Requests πŸ”΄ py
πŸ”’ 2077 Paths in Maze That Lead to Same Room 🟠
βœ… 2078 Two Furthest Houses With Different Colors 🟒 py
βœ… 2079 Watering Plants 🟠 py
βœ… 2080 Range Frequency Queries 🟠 py
βœ… 2081 Sum of k-Mirror Numbers πŸ”΄ py
πŸ”’ 2082 The Number of Rich Customers 🟒
πŸ”’ 2083 Substrings That Begin and End With the Same Letter 🟠
πŸ”’ 2084 Drop Type 1 Orders for Customers With Type 0 Orders 🟠
βœ… 2085 Count Common Words With One Occurrence 🟒 py
2086 Minimum Number of Food Buckets to Feed the Hamsters 🟠
βœ… 2087 Minimum Cost Homecoming of a Robot in a Grid 🟠 py
βœ… 2088 Count Fertile Pyramids in a Land πŸ”΄ py
βœ… 2089 Find Target Indices After Sorting Array 🟒 py
βœ… 2090 K Radius Subarray Averages 🟠 py
βœ… 2091 Removing Minimum and Maximum From Array 🟠 py
βœ… 2092 Find All People With Secret πŸ”΄ py
πŸ”’ 2093 Minimum Cost to Reach City With Discounts 🟠
βœ… 2094 Finding 3-Digit Even Numbers 🟒 py
βœ… 2095 Delete the Middle Node of a Linked List 🟠 py
βœ… 2096 Step-By-Step Directions From a Binary Tree Node to Another 🟠 py
βœ… 2097 Valid Arrangement of Pairs πŸ”΄ py
πŸ”’ 2098 Subsequence of Size K With the Largest Even Sum 🟠
βœ… 2099 Find Subsequence of Length K With the Largest Sum 🟒 py
βœ… 2100 Find Good Days to Rob the Bank 🟠 py
βœ… 2101 Detonate the Maximum Bombs 🟠 py
βœ… 2102 Sequentially Ordinal Rank Tracker πŸ”΄ py
βœ… 2103 Rings and Rods 🟒 py
βœ… 2104 Sum of Subarray Ranges 🟠 py
βœ… 2105 Watering Plants II 🟠 py
βœ… 2106 Maximum Fruits Harvested After at Most K Steps πŸ”΄ py
πŸ”’ 2107 Number of Unique Flavors After Sharing K Candies 🟠
βœ… 2108 Find First Palindromic String in the Array 🟒 py
βœ… 2109 Adding Spaces to a String 🟠 py
βœ… 2110 Number of Smooth Descent Periods of a Stock 🟠 py
βœ… 2111 Minimum Operations to Make the Array K-Increasing πŸ”΄ py
πŸ”’ 2112 The Airport With the Most Traffic 🟠
πŸ”’ 2113 Elements in Array After Removing and Replacing Elements 🟠
βœ… 2114 Maximum Number of Words Found in Sentences 🟒 py
βœ… 2115 Find All Possible Recipes from Given Supplies 🟠 py
βœ… 2116 Check if a Parentheses String Can Be Valid 🟠 py
βœ… 2117 Abbreviating the Product of a Range πŸ”΄ py
πŸ”’ 2118 Build the Equation πŸ”΄
βœ… 2119 A Number After a Double Reversal 🟒 py
βœ… 2120 Execution of All Suffix Instructions Staying in a Grid 🟠 py
βœ… 2121 Intervals Between Identical Elements 🟠 py
βœ… 2122 Recover the Original Array πŸ”΄ py
πŸ”’ 2123 Minimum Operations to Remove Adjacent Ones in Matrix πŸ”΄
βœ… 2124 Check if All A's Appears Before All B's 🟒 py
βœ… 2125 Number of Laser Beams in a Bank 🟠 py
βœ… 2126 Destroying Asteroids 🟠 py
βœ… 2127 Maximum Employees to Be Invited to a Meeting πŸ”΄ py
πŸ”’ 2128 Remove All Ones With Row and Column Flips 🟠
βœ… 2129 Capitalize the Title 🟒 py
βœ… 2130 Maximum Twin Sum of a Linked List 🟠 py
βœ… 2131 Longest Palindrome by Concatenating Two Letter Words 🟠 py
βœ… 2132 Stamping the Grid πŸ”΄ py
βœ… 2133 Check if Every Row and Column Contains All Numbers 🟒 py
βœ… 2134 Minimum Swaps to Group All 1's Together II 🟠 py
βœ… 2135 Count Words Obtained After Adding a Letter 🟠 py
βœ… 2136 Earliest Possible Day of Full Bloom πŸ”΄ py
πŸ”’ 2137 Pour Water Between Buckets to Make Water Levels Equal 🟠
βœ… 2138 Divide a String Into Groups of Size k 🟒 py
βœ… 2139 Minimum Moves to Reach Target Score 🟠 py
βœ… 2140 Solving Questions With Brainpower 🟠 py
βœ… 2141 Maximum Running Time of N Computers πŸ”΄ py
πŸ”’ 2142 The Number of Passengers in Each Bus I 🟠
πŸ”’ 2143 Choose Numbers From Two Arrays in Range πŸ”΄
βœ… 2144 Minimum Cost of Buying Candies With Discount 🟒 py
βœ… 2145 Count the Hidden Sequences 🟠 py
βœ… 2146 K Highest Ranked Items Within a Price Range 🟠 py
βœ… 2147 Number of Ways to Divide a Long Corridor πŸ”΄ py
βœ… 2148 Count Elements With Strictly Smaller and Greater Elements 🟒 py
βœ… 2149 Rearrange Array Elements by Sign 🟠 py
βœ… 2150 Find All Lonely Numbers in the Array 🟠 py
βœ… 2151 Maximum Good People Based on Statements πŸ”΄ py
πŸ”’ 2152 Minimum Number of Lines to Cover Points 🟠
πŸ”’ 2153 The Number of Passengers in Each Bus II πŸ”΄
βœ… 2154 Keep Multiplying Found Values by Two 🟒 py
βœ… 2155 All Divisions With the Highest Score of a Binary Array 🟠 py
βœ… 2156 Find Substring With Given Hash Value πŸ”΄ py
βœ… 2157 Groups of Strings πŸ”΄ py
πŸ”’ 2158 Amount of New Area Painted Each Day πŸ”΄
πŸ”’ 2159 Order Two Columns Independently 🟠
βœ… 2160 Minimum Sum of Four Digit Number After Splitting Digits 🟒 py
βœ… 2161 Partition Array According to Given Pivot 🟠 py
βœ… 2162 Minimum Cost to Set Cooking Time 🟠 py
βœ… 2163 Minimum Difference in Sums After Removal of Elements πŸ”΄ py
βœ… 2164 Sort Even and Odd Indices Independently 🟒 py
βœ… 2165 Smallest Value of the Rearranged Number 🟠 py
βœ… 2166 Design Bitset 🟠 py
βœ… 2167 Minimum Time to Remove All Cars Containing Illegal Goods πŸ”΄ py
πŸ”’ 2168 Unique Substrings With Equal Digit Frequency 🟠
βœ… 2169 Count Operations to Obtain Zero 🟒 py
βœ… 2170 Minimum Operations to Make the Array Alternating 🟠 py
βœ… 2171 Removing Minimum Number of Magic Beans 🟠 py
βœ… 2172 Maximum AND Sum of Array πŸ”΄ py
πŸ”’ 2173 Longest Winning Streak πŸ”΄
πŸ”’ 2174 Remove All Ones With Row and Column Flips II 🟠
πŸ”’ 2175 The Change in Global Rankings 🟠
βœ… 2176 Count Equal and Divisible Pairs in an Array 🟒 py
βœ… 2177 Find Three Consecutive Integers That Sum to a Given Number 🟠 py
βœ… 2178 Maximum Split of Positive Even Integers 🟠 py
βœ… 2179 Count Good Triplets in an Array πŸ”΄ py
βœ… 2180 Count Integers With Even Digit Sum 🟒 py
βœ… 2181 Merge Nodes in Between Zeros 🟠 py
βœ… 2182 Construct String With Repeat Limit 🟠 py
βœ… 2183 Count Array Pairs Divisible by K πŸ”΄ py
πŸ”’ 2184 Number of Ways to Build Sturdy Brick Wall 🟠
βœ… 2185 Counting Words With a Given Prefix 🟒 py
βœ… 2186 Minimum Number of Steps to Make Two Strings Anagram II 🟠 py
βœ… 2187 Minimum Time to Complete Trips 🟠 py
βœ… 2188 Minimum Time to Finish the Race πŸ”΄ py
πŸ”’ 2189 Number of Ways to Build House of Cards 🟠
βœ… 2190 Most Frequent Number Following Key In an Array 🟒 py
βœ… 2191 Sort the Jumbled Numbers 🟠 py
βœ… 2192 All Ancestors of a Node in a Directed Acyclic Graph 🟠 py
βœ… 2193 Minimum Number of Moves to Make Palindrome πŸ”΄ py
cpp
βœ… 2194 Cells in a Range on an Excel Sheet 🟒 py
βœ… 2195 Append K Integers With Minimal Sum 🟠 py
βœ… 2196 Create Binary Tree From Descriptions 🟠 py
βœ… 2197 Replace Non-Coprime Numbers in Array πŸ”΄ py
πŸ”’ 2198 Number of Single Divisor Triplets 🟠
πŸ”’ 2199 Finding the Topic of Each Post πŸ”΄
βœ… 2200 Find All K-Distant Indices in an Array 🟒 py
βœ… 2201 Count Artifacts That Can Be Extracted 🟠 py
βœ… 2202 Maximize the Topmost Element After K Moves 🟠 py
βœ… 2203 Minimum Weighted Subgraph With the Required Paths πŸ”΄ py
πŸ”’ 2204 Distance to a Cycle in Undirected Graph πŸ”΄
πŸ”’ 2205 The Number of Users That Are Eligible for Discount 🟒
βœ… 2206 Divide Array Into Equal Pairs 🟒 py
βœ… 2207 Maximize Number of Subsequences in a String 🟠 py
βœ… 2208 Minimum Operations to Halve Array Sum 🟠 py
βœ… 2209 Minimum White Tiles After Covering With Carpets πŸ”΄ py
βœ… 2210 Count Hills and Valleys in an Array 🟒 py
βœ… 2211 Count Collisions on a Road 🟠 py
βœ… 2212 Maximum Points in an Archery Competition 🟠 py
βœ… 2213 Longest Substring of One Repeating Character πŸ”΄ py
πŸ”’ 2214 Minimum Health to Beat Game 🟠
βœ… 2215 Find the Difference of Two Arrays 🟒 py
βœ… 2216 Minimum Deletions to Make Array Beautiful 🟠 py
βœ… 2217 Find Palindrome With Fixed Length 🟠 py
βœ… 2218 Maximum Value of K Coins From Piles πŸ”΄ py
πŸ”’ 2219 Maximum Sum Score of Array 🟠
βœ… 2220 Minimum Bit Flips to Convert Number 🟒 py
βœ… 2221 Find Triangular Sum of an Array 🟠 py
βœ… 2222 Number of Ways to Select Buildings 🟠 py
2223 Sum of Scores of Built Strings πŸ”΄
βœ… 2224 Minimum Number of Operations to Convert Time 🟒 py
βœ… 2225 Find Players With Zero or One Losses 🟠 py
βœ… 2226 Maximum Candies Allocated to K Children 🟠 py
βœ… 2227 Encrypt and Decrypt Strings πŸ”΄ py
πŸ”’ 2228 Users With Two Purchases Within Seven Days 🟠
πŸ”’ 2229 Check if an Array Is Consecutive 🟒
πŸ”’ 2230 The Users That Are Eligible for Discount 🟒
βœ… 2231 Largest Number After Digit Swaps by Parity 🟒 py
βœ… 2232 Minimize Result by Adding Parentheses to Expression 🟠 py
βœ… 2233 Maximum Product After K Increments 🟠 py
βœ… 2234 Maximum Total Beauty of the Gardens πŸ”΄ py
2235 Add Two Integers 🟒
βœ… 2236 Root Equals Sum of Children 🟒 py
πŸ”’ 2237 Count Positions on Street With Required Brightness 🟠
πŸ”’ 2238 Number of Times a Driver Was a Passenger 🟠
βœ… 2239 Find Closest Number to Zero 🟒 py
βœ… 2240 Number of Ways to Buy Pens and Pencils 🟠 py
βœ… 2241 Design an ATM Machine 🟠 py
βœ… 2242 Maximum Score of a Node Sequence πŸ”΄ py
βœ… 2243 Calculate Digit Sum of a String 🟒 py
βœ… 2244 Minimum Rounds to Complete All Tasks 🟠 py
βœ… 2245 Maximum Trailing Zeros in a Cornered Path 🟠 py
βœ… 2246 Longest Path With Different Adjacent Characters πŸ”΄ py
πŸ”’ 2247 Maximum Cost of Trip With K Highways πŸ”΄
βœ… 2248 Intersection of Multiple Arrays 🟒 py
βœ… 2249 Count Lattice Points Inside a Circle 🟠 py
βœ… 2250 Count Number of Rectangles Containing Each Point 🟠 py
βœ… 2251 Number of Flowers in Full Bloom πŸ”΄ py
πŸ”’ 2252 Dynamic Pivoting of a Table πŸ”΄
πŸ”’ 2253 Dynamic Unpivoting of a Table πŸ”΄
πŸ”’ 2254 Design Video Sharing Platform πŸ”΄
βœ… 2255 Count Prefixes of a Given String 🟒 py
βœ… 2256 Minimum Average Difference 🟠 py
βœ… 2257 Count Unguarded Cells in the Grid 🟠 py
βœ… 2258 Escape the Spreading Fire πŸ”΄ py
βœ… 2259 Remove Digit From Number to Maximize Result 🟒 py
βœ… 2260 Minimum Consecutive Cards to Pick Up 🟠 py
βœ… 2261 K Divisible Elements Subarrays 🟠 py
βœ… 2262 Total Appeal of A String πŸ”΄ py
πŸ”’ 2263 Make Array Non-decreasing or Non-increasing πŸ”΄
βœ… 2264 Largest 3-Same-Digit Number in String 🟒 py
βœ… 2265 Count Nodes Equal to Average of Subtree 🟠 py
βœ… 2266 Count Number of Texts 🟠 py
βœ… 2267 Check if There Is a Valid Parentheses String Path πŸ”΄ py
πŸ”’ 2268 Minimum Number of Keypresses 🟠
βœ… 2269 Find the K-Beauty of a Number 🟒 py
βœ… 2270 Number of Ways to Split Array 🟠 py
βœ… 2271 Maximum White Tiles Covered by a Carpet 🟠 py
βœ… 2272 Substring With Largest Variance πŸ”΄ py
βœ… 2273 Find Resultant Array After Removing Anagrams 🟒 py
βœ… 2274 Maximum Consecutive Floors Without Special Floors 🟠 py
βœ… 2275 Largest Combination With Bitwise AND Greater Than Zero 🟠 py
βœ… 2276 Count Integers in Intervals πŸ”΄ py
πŸ”’ 2277 Closest Node to Path in Tree πŸ”΄
βœ… 2278 Percentage of Letter in String 🟒 py
βœ… 2279 Maximum Bags With Full Capacity of Rocks 🟠 py
βœ… 2280 Minimum Lines to Represent a Line Chart 🟠 py
βœ… 2281 Sum of Total Strength of Wizards πŸ”΄ py
πŸ”’ 2282 Number of People That Can Be Seen in a Grid 🟠
βœ… 2283 Check if Number Has Equal Digit Count and Digit Value 🟒 py
βœ… 2284 Sender With Largest Word Count 🟠 py
βœ… 2285 Maximum Total Importance of Roads 🟠 py
βœ… 2286 Booking Concert Tickets in Groups πŸ”΄ py
βœ… 2287 Rearrange Characters to Make Target String 🟒 py
βœ… 2288 Apply Discount to Prices 🟠 py
βœ… 2289 Steps to Make Array Non-decreasing 🟠 py
βœ… 2290 Minimum Obstacle Removal to Reach Corner πŸ”΄ py
πŸ”’ 2291 Maximum Profit From Trading Stocks 🟠
πŸ”’ 2292 Products With Three or More Orders in Two Consecutive Years 🟠
βœ… 2293 Min Max Game 🟒 py
βœ… 2294 Partition Array Such That Maximum Difference Is K 🟠 py
βœ… 2295 Replace Elements in an Array 🟠 py
βœ… 2296 Design a Text Editor πŸ”΄ py
πŸ”’ 2297 Jump Game VIII 🟠
πŸ”’ 2298 Tasks Count in the Weekend 🟠
βœ… 2299 Strong Password Checker II 🟒 py
βœ… 2300 Successful Pairs of Spells and Potions 🟠 py
βœ… 2301 Match Substring After Replacement πŸ”΄ py
βœ… 2302 Count Subarrays With Score Less Than K πŸ”΄ py
βœ… 2303 Calculate Amount Paid in Taxes 🟒 py
βœ… 2304 Minimum Path Cost in a Grid 🟠 py
βœ… 2305 Fair Distribution of Cookies 🟠 py
βœ… 2306 Naming a Company πŸ”΄ py
πŸ”’ 2307 Check for Contradictions in Equations πŸ”΄
πŸ”’ 2308 Arrange Table by Gender 🟠
βœ… 2309 Greatest English Letter in Upper and Lower Case 🟒 py
βœ… 2310 Sum of Numbers With Units Digit K 🟠 py
βœ… 2311 Longest Binary Subsequence Less Than or Equal to K 🟠 py
βœ… 2312 Selling Pieces of Wood πŸ”΄ py
πŸ”’ 2313 Minimum Flips in Binary Tree to Get Result πŸ”΄
πŸ”’ 2314 The First Day of the Maximum Recorded Degree in Each City 🟠
βœ… 2315 Count Asterisks 🟒 py
βœ… 2316 Count Unreachable Pairs of Nodes in an Undirected Graph 🟠 py
βœ… 2317 Maximum XOR After Operations 🟠 py
βœ… 2318 Number of Distinct Roll Sequences πŸ”΄ py
βœ… 2319 Check if Matrix Is X-Matrix 🟒 py
βœ… 2320 Count Number of Ways to Place Houses 🟠 py
βœ… 2321 Maximum Score Of Spliced Array πŸ”΄ py
cpp
βœ… 2322 Minimum Score After Removals on a Tree πŸ”΄ py
πŸ”’ 2323 Find Minimum Time to Finish All Jobs II 🟠
πŸ”’ 2324 Product Sales Analysis IV 🟠
βœ… 2325 Decode the Message 🟒 py
βœ… 2326 Spiral Matrix IV 🟠 py
βœ… 2327 Number of People Aware of a Secret 🟠 py
βœ… 2328 Number of Increasing Paths in a Grid πŸ”΄ py
πŸ”’ 2329 Product Sales Analysis V 🟒
πŸ”’ 2330 Valid Palindrome IV 🟠
βœ… 2331 Evaluate Boolean Binary Tree 🟒 py
βœ… 2332 The Latest Time to Catch a Bus 🟠 py
βœ… 2333 Minimum Sum of Squared Difference 🟠 py
βœ… 2334 Subarray With Elements Greater Than Varying Threshold πŸ”΄ py
βœ… 2335 Minimum Amount of Time to Fill Cups 🟒 py
βœ… 2336 Smallest Number in Infinite Set 🟠 py
βœ… 2337 Move Pieces to Obtain a String 🟠 py
2338 Count the Number of Ideal Arrays πŸ”΄
πŸ”’ 2339 All the Matches of the League 🟒
πŸ”’ 2340 Minimum Adjacent Swaps to Make a Valid Array 🟠
βœ… 2341 Maximum Number of Pairs in Array 🟒 py
βœ… 2342 Max Sum of a Pair With Equal Sum of Digits 🟠 py
βœ… 2343 Query Kth Smallest Trimmed Number 🟠 py
βœ… 2344 Minimum Deletions to Make Array Divisible πŸ”΄ py
πŸ”’ 2345 Finding the Number of Visible Mountains 🟠
πŸ”’ 2346 Compute the Rank as a Percentage 🟠
βœ… 2347 Best Poker Hand 🟒 py
βœ… 2348 Number of Zero-Filled Subarrays 🟠 py
βœ… 2349 Design a Number Container System 🟠 py
βœ… 2350 Shortest Impossible Sequence of Rolls πŸ”΄ py
βœ… 2351 First Letter to Appear Twice 🟒 py
βœ… 2352 Equal Row and Column Pairs 🟠 py
βœ… 2353 Design a Food Rating System 🟠 py
βœ… 2354 Number of Excellent Pairs πŸ”΄ py
πŸ”’ 2355 Maximum Number of Books You Can Take πŸ”΄
πŸ”’ 2356 Number of Unique Subjects Taught by Each Teacher 🟒
βœ… 2357 Make Array Zero by Subtracting Equal Amounts 🟒 py
βœ… 2358 Maximum Number of Groups Entering a Competition 🟠 py
βœ… 2359 Find Closest Node to Given Two Nodes 🟠 py
βœ… 2360 Longest Cycle in a Graph πŸ”΄ py
πŸ”’ 2361 Minimum Costs Using the Train Line πŸ”΄
πŸ”’ 2362 Generate the Invoice πŸ”΄
βœ… 2363 Merge Similar Items 🟒 py
βœ… 2364 Count Number of Bad Pairs 🟠 py
βœ… 2365 Task Scheduler II 🟠 py
βœ… 2366 Minimum Replacements to Sort the Array πŸ”΄ py
βœ… 2367 Number of Arithmetic Triplets 🟒 py
βœ… 2368 Reachable Nodes With Restrictions 🟠 py
βœ… 2369 Check if There is a Valid Partition For The Array 🟠 py
βœ… 2370 Longest Ideal Subsequence 🟠 py
πŸ”’ 2371 Minimize Maximum Value in a Grid πŸ”΄
πŸ”’ 2372 Calculate the Influence of Each Salesperson 🟠
βœ… 2373 Largest Local Values in a Matrix 🟒 py
βœ… 2374 Node With Highest Edge Score 🟠 py
βœ… 2375 Construct Smallest Number From DI String 🟠 py
βœ… 2376 Count Special Integers πŸ”΄ py
πŸ”’ 2377 Sort the Olympic Table 🟒
πŸ”’ 2378 Choose Edges to Maximize Score in a Tree 🟠
βœ… 2379 Minimum Recolors to Get K Consecutive Black Blocks 🟒 py
βœ… 2380 Time Needed to Rearrange a Binary String 🟠 py
βœ… 2381 Shifting Letters II 🟠 py
βœ… 2382 Maximum Segment Sum After Removals πŸ”΄ py
βœ… 2383 Minimum Hours of Training to Win a Competition 🟒 py
βœ… 2384 Largest Palindromic Number 🟠 py
βœ… 2385 Amount of Time for Binary Tree to Be Infected 🟠 py
βœ… 2386 Find the K-Sum of an Array πŸ”΄ py
πŸ”’ 2387 Median of a Row Wise Sorted Matrix 🟠
πŸ”’ 2388 Change Null Values in a Table to the Previous Value 🟠
βœ… 2389 Longest Subsequence With Limited Sum 🟒 py
βœ… 2390 Removing Stars From a String 🟠 py
βœ… 2391 Minimum Amount of Time to Collect Garbage 🟠 py
βœ… 2392 Build a Matrix With Conditions πŸ”΄ py
πŸ”’ 2393 Count Strictly Increasing Subarrays 🟠
πŸ”’ 2394 Employees With Deductions 🟠
βœ… 2395 Find Subarrays With Equal Sum 🟒 py
βœ… 2396 Strictly Palindromic Number 🟠 py
βœ… 2397 Maximum Rows Covered by Columns 🟠 py
βœ… 2398 Maximum Number of Robots Within Budget πŸ”΄ py
βœ… 2399 Check Distances Between Same Letters 🟒 py
βœ… 2400 Number of Ways to Reach a Position After Exactly k Steps 🟠 py
βœ… 2401 Longest Nice Subarray 🟠 py
βœ… 2402 Meeting Rooms III πŸ”΄ py
πŸ”’ 2403 Minimum Time to Kill All Monsters πŸ”΄
βœ… 2404 Most Frequent Even Element 🟒 py
βœ… 2405 Optimal Partition of String 🟠 py
βœ… 2406 Divide Intervals Into Minimum Number of Groups 🟠 py
βœ… 2407 Longest Increasing Subsequence II πŸ”΄ py
πŸ”’ 2408 Design SQL 🟠
βœ… 2409 Count Days Spent Together 🟒 py
βœ… 2410 Maximum Matching of Players With Trainers 🟠 py
βœ… 2411 Smallest Subarrays With Maximum Bitwise OR 🟠 py
βœ… 2412 Minimum Money Required Before Transactions πŸ”΄ py
βœ… 2413 Smallest Even Multiple 🟒 py
βœ… 2414 Length of the Longest Alphabetical Continuous Substring 🟠 py
βœ… 2415 Reverse Odd Levels of Binary Tree 🟠 py
βœ… 2416 Sum of Prefix Scores of Strings πŸ”΄ py
πŸ”’ 2417 Closest Fair Integer 🟠
βœ… 2418 Sort the People 🟒 py
βœ… 2419 Longest Subarray With Maximum Bitwise AND 🟠 py
βœ… 2420 Find All Good Indices 🟠 py
βœ… 2421 Number of Good Paths πŸ”΄ py
πŸ”’ 2422 Merge Operations to Turn Array Into a Palindrome 🟠
βœ… 2423 Remove Letter To Equalize Frequency 🟒 py
βœ… 2424 Longest Uploaded Prefix 🟠 py
βœ… 2425 Bitwise XOR of All Pairings 🟠 py
βœ… 2426 Number of Pairs Satisfying Inequality πŸ”΄ py
βœ… 2427 Number of Common Factors 🟒 py
βœ… 2428 Maximum Sum of an Hourglass 🟠 py
βœ… 2429 Minimize XOR 🟠 py
βœ… 2430 Maximum Deletions on a String πŸ”΄ py
πŸ”’ 2431 Maximize Total Tastiness of Purchased Fruits 🟠
βœ… 2432 The Employee That Worked on the Longest Task 🟒 py
βœ… 2433 Find The Original Array of Prefix Xor 🟠 py
βœ… 2434 Using a Robot to Print the Lexicographically Smallest String 🟠 py
βœ… 2435 Paths in Matrix Whose Sum Is Divisible by K πŸ”΄ py
cpp
πŸ”’ 2436 Minimum Split Into Subarrays With GCD Greater Than One 🟠
βœ… 2437 Number of Valid Clock Times 🟒 py
βœ… 2438 Range Product Queries of Powers 🟠 py
βœ… 2439 Minimize Maximum of Array 🟠 py
βœ… 2440 Create Components With Same Value πŸ”΄ py
βœ… 2441 Largest Positive Integer That Exists With Its Negative 🟒 py
βœ… 2442 Count Number of Distinct Integers After Reverse Operations 🟠 py
βœ… 2443 Sum of Number and Its Reverse 🟠 py
βœ… 2444 Count Subarrays With Fixed Bounds πŸ”΄ py
πŸ”’ 2445 Number of Nodes With Value One 🟠
βœ… 2446 Determine if Two Events Have Conflict 🟒 py
βœ… 2447 Number of Subarrays With GCD Equal to K 🟠 py
βœ… 2448 Minimum Cost to Make Array Equal πŸ”΄ py
βœ… 2449 Minimum Number of Operations to Make Arrays Similar πŸ”΄ py
πŸ”’ 2450 Number of Distinct Binary Strings After Applying Operations 🟠
βœ… 2451 Odd String Difference 🟒 py
βœ… 2452 Words Within Two Edits of Dictionary 🟠 py
βœ… 2453 Destroy Sequential Targets 🟠 py
βœ… 2454 Next Greater Element IV πŸ”΄ py
βœ… 2455 Average Value of Even Numbers That Are Divisible by Three 🟒 py
βœ… 2456 Most Popular Video Creator 🟠 py
βœ… 2457 Minimum Addition to Make Integer Beautiful 🟠 py
βœ… 2458 Height of Binary Tree After Subtree Removal Queries πŸ”΄ py
πŸ”’ 2459 Sort Array by Moving Items to Empty Space πŸ”΄
βœ… 2460 Apply Operations to an Array 🟒 py
βœ… 2461 Maximum Sum of Distinct Subarrays With Length K 🟠 py
βœ… 2462 Total Cost to Hire K Workers 🟠 py
βœ… 2463 Minimum Total Distance Traveled πŸ”΄ py
πŸ”’ 2464 Minimum Subarrays in a Valid Split 🟠
βœ… 2465 Number of Distinct Averages 🟒 py
βœ… 2466 Count Ways To Build Good Strings 🟠 py
βœ… 2467 Most Profitable Path in a Tree 🟠 py
βœ… 2468 Split Message Based on Limit πŸ”΄ py
βœ… 2469 Convert the Temperature 🟒 py
βœ… 2470 Number of Subarrays With LCM Equal to K 🟠 py
βœ… 2471 Minimum Number of Operations to Sort a Binary Tree by Level 🟠 py
βœ… 2472 Maximum Number of Non-overlapping Palindrome Substrings πŸ”΄ py
πŸ”’ 2473 Minimum Cost to Buy Apples 🟠
πŸ”’ 2474 Customers With Strictly Increasing Purchases πŸ”΄
βœ… 2475 Number of Unequal Triplets in Array 🟒 py
βœ… 2476 Closest Nodes Queries in a Binary Search Tree 🟠 py
βœ… 2477 Minimum Fuel Cost to Report to the Capital 🟠 py
βœ… 2478 Number of Beautiful Partitions πŸ”΄ py
cpp
πŸ”’ 2479 Maximum XOR of Two Non-Overlapping Subtrees πŸ”΄
πŸ”’ 2480 Form a Chemical Bond 🟒
βœ… 2481 Minimum Cuts to Divide a Circle 🟒 py
βœ… 2482 Difference Between Ones and Zeros in Row and Column 🟠 py
βœ… 2483 Minimum Penalty for a Shop 🟠 py
βœ… 2484 Count Palindromic Subsequences πŸ”΄ py
βœ… 2485 Find the Pivot Integer 🟒 py
βœ… 2486 Append Characters to String to Make Subsequence 🟠 py
βœ… 2487 Remove Nodes From Linked List 🟠 py
βœ… 2488 Count Subarrays With Median K πŸ”΄ py
πŸ”’ 2489 Number of Substrings With Fixed Ratio 🟠
βœ… 2490 Circular Sentence 🟒 py
βœ… 2491 Divide Players Into Teams of Equal Skill 🟠 py
βœ… 2492 Minimum Score of a Path Between Two Cities 🟠 py
βœ… 2493 Divide Nodes Into the Maximum Number of Groups πŸ”΄ py
πŸ”’ 2494 Merge Overlapping Events in the Same Hall πŸ”΄
πŸ”’ 2495 Number of Subarrays Having Even Product 🟠
βœ… 2496 Maximum Value of a String in an Array 🟒 py
βœ… 2497 Maximum Star Sum of a Graph 🟠 py
βœ… 2498 Frog Jump II 🟠 py
βœ… 2499 Minimum Total Cost to Make Arrays Unequal πŸ”΄ py
βœ… 2500 Delete Greatest Value in Each Row 🟒 py
βœ… 2501 Longest Square Streak in an Array 🟠 py
βœ… 2502 Design Memory Allocator 🟠 py
βœ… 2503 Maximum Number of Points From Grid Queries πŸ”΄ py
πŸ”’ 2504 Concatenate the Name and the Profession 🟒
πŸ”’ 2505 Bitwise OR of All Subsequence Sums 🟠
βœ… 2506 Count Pairs Of Similar Strings 🟒 py
βœ… 2507 Smallest Value After Replacing With Sum of Prime Factors 🟠 py
βœ… 2508 Add Edges to Make Degrees of All Nodes Even πŸ”΄ py
βœ… 2509 Cycle Length Queries in a Tree πŸ”΄ py
πŸ”’ 2510 Check if There is a Path With Equal Number of 0's And 1's 🟠
βœ… 2511 Maximum Enemy Forts That Can Be Captured 🟒 py
βœ… 2512 Reward Top K Students 🟠

Releases

No releases published

Packages

No packages published