| 1 |
Two Sum |
 |
Easy |
| 2 |
Add Two Numbers |
 |
Medium |
| 3 |
Longest Substring Without Repeating Characters |
 |
Medium |
| 4 |
Median of Two Sorted Arrays |
 |
Hard |
| 5 |
Longest Palindromic Substring |
 |
Medium |
| 6 |
ZigZag Conversion |
 |
Medium |
| 7 |
Reverse Integer |
 |
Medium |
| 8 |
String to Integer (atoi) |
 |
Medium |
| 9 |
Palindrome Number |
 |
Easy |
| 10 |
Regular Expression Matching |
 |
Hard |
| 11 |
Container With Most Water |
 |
Medium |
| 12 |
Integer to Roman |
 |
Medium |
| 13 |
Roman to Integer |
 |
Easy |
| 14 |
Longest Common Prefix |
 |
Easy |
| 15 |
3Sum |
 |
Medium |
| 16 |
3Sum Closest |
 |
Medium |
| 17 |
Letter Combinations of a Phone Number |
 |
Medium |
| 18 |
4Sum |
 |
Medium |
| 19 |
Remove Nth Node From End of List |
 |
Medium |
| 20 |
Valid Parentheses |
 |
Easy |
| 21 |
Merge Two Sorted Lists |
 |
Easy |
| 22 |
Generate Parentheses |
 |
Medium |
| 23 |
Merge k Sorted Lists |
 |
Hard |
| 24 |
Swap Nodes in Pairs |
 |
Medium |
| 25 |
Reverse Nodes in k-Group |
 |
Medium |
| 26 |
Remove Duplicates from Sorted Array |
 |
Easy |
| 27 |
Remove Element |
 |
Easy |
| 28 |
Find the Index of the First Occurrence in a String |
 |
Easy |
| 29 |
Divide Two Integers |
 |
Medium |
| 30 |
Substring with Concatenation of All Words |
 |
Hard |
| 31 |
Next Permutation |
 |
Medium |
| 32 |
Longest Valid Parentheses |
 |
Hard |
| 33 |
Search in Rotated Sorted Array |
 |
Medium |
| 34 |
Find First and Last Position of Element in Sorted Array |
 |
Medium |
| 35 |
Search Insert Position |
 |
Easy |
| 36 |
Valid Sudoku |
 |
Medium |
| 38 |
Count and Say |
 |
Medium |
| 39 |
Combination Sum |
 |
Medium |
| 40 |
Combination Sum II |
 |
Medium |
| 41 |
First Missing Positive |
 |
Hard |
| 42 |
Trapping Rain Water |
 |
Hard |
| 43 |
Multiply Strings |
 |
Medium |
| 44 |
Wildcard Matching |
 |
Hard |
| 45 |
Jump Game II |
 |
Hard |
| 46 |
Permutations |
 |
Medium |
| 47 |
Permutations II |
 |
Medium |
| 48 |
Rotate Image |
 |
Medium |
| 49 |
Group Anagrams |
 |
Medium |
| 50 |
Pow(x, n) |
 |
Medium |
| 51 |
N-Queens |
 |
Hard |
| 52 |
N-Queens II |
 |
Hard |
| 53 |
Maximum Subarray |
 |
Medium |
| 54 |
Spiral Matrix |
 |
Medium |
| 55 |
Jump Game |
 |
Medium |
| 56 |
Merge Intervals |
 |
Medium |
| 57 |
Insert Interval |
 |
Medium |
| 58 |
Length of Last Word |
 |
Easy |
| 59 |
Spiral Matrix II |
 |
Medium |
| 60 |
Permutation Sequence |
 |
Hard |
| 61 |
Rotate List |
 |
Medium |
| 62 |
Unique Paths |
 |
Medium |
| 63 |
Unique Paths II |
 |
Medium |
| 64 |
Minimum Path Sum |
 |
Medium |
| 65 |
Valid Number |
 |
Hard |
| 66 |
Plus One |
 |
Easy |
| 67 |
Add Binary |
 |
Easy |
| 68 |
Text Justification |
 |
Hard |
| 69 |
Sqrt(x) |
 |
Easy |
| 70 |
Climbing Stairs |
 |
Easy |
| 71 |
Simplify Path |
 |
Medium |
| 72 |
Edit Distance |
 |
Medium |
| 73 |
Set Matrix Zeroes |
 |
Medium |
| 74 |
Search a 2D Matrix |
 |
Medium |
| 75 |
Sort Colors |
 |
Medium |
| 76 |
Minimum Window Substring |
 |
Hard |
| 77 |
Combinations |
 |
Medium |
| 78 |
Subsets |
 |
Medium |
| 79 |
Word Search |
 |
Medium |
| 80 |
Remove Duplicates from Sorted Array II |
 |
Medium |
| 82 |
Remove Duplicates from Sorted List II |
 |
Medium |
| 83 |
Remove Duplicates from Sorted List |
 |
Easy |
| 84 |
Largest Rectangle in Histogram |
 |
Hard |
| 85 |
Maximal Rectangle |
 |
Hard |
| 86 |
Partition List |
 |
Medium |
| 88 |
Merge Sorted Array |
 |
Medium |
| 89 |
Gray Code |
 |
Medium |
| 91 |
Decode Ways |
 |
Medium |
| 92 |
Reverse Linked List II |
 |
Medium |
| 93 |
Restore IP Addresses |
 |
Medium |
| 94 |
Binary Tree Inorder Traversal |
 |
Easy |
| 95 |
Unique Binary Search Trees II |
 |
Medium |
| 96 |
Unique Binary Search Trees |
 |
Medium |
| 97 |
Interleaving String |
 |
Medium |
| 98 |
Validate Binary Search Tree |
 |
Medium |
| 100 |
Same Tree |
 |
Easy |
| 101 |
Symmetric Tree |
 |
Easy |
| 102 |
Binary Tree Level Order Traversal |
 |
Medium |
| 103 |
Binary Tree Zigzag Level Order Traversal |
 |
Medium |
| 104 |
Maximum Depth of Binary Tree |
 |
Easy |
| 105 |
Construct Binary Tree from Preorder and Inorder Traversal |
 |
Medium |
| 106 |
Construct Binary Tree from Inorder and Postorder Traversal |
 |
Medium |
| 107 |
Binary Tree Level Order Traversal II |
 |
Medium |
| 108 |
Convert Sorted Array to Binary Search Tree |
 |
Easy |
| 110 |
Balanced Binary Tree |
 |
Easy |
| 112 |
Path Sum |
 |
Easy |
| 114 |
Flatten Binary Tree to Linked List |
 |
Medium |
| 115 |
Distinct Subsequences |
 |
Hard |
| 116 |
Populating Next Right Pointers in Each Node |
 |
Medium |
| 117 |
Populating Next Right Pointers in Each Node II |
 |
Medium |
| 118 |
Pascal's Triangle |
 |
Easy |
| 119 |
Pascal's Triangle II |
 |
Easy |
| 120 |
Triangle |
 |
Medium |
| 121 |
Best Time to Buy and Sell Stock |
 |
Easy |
| 122 |
Best Time to Buy and Sell Stock II |
 |
Medium |
| 123 |
Best Time to Buy and Sell Stock III |
 |
Hard |
| 124 |
Binary Tree Maximum Path Sum |
 |
Hard |
| 125 |
Valid Palindrome |
 |
Easy |
| 126 |
Word Ladder II |
 |
Hard |
| 127 |
Word Ladder |
 |
Hard |
| 128 |
Longest Consecutive Sequence |
 |
Medium |
| 129 |
Sum Root to Leaf Numbers |
 |
Medium |
| 134 |
Gas Station |
 |
Medium |
| 135 |
Candy |
 |
Hard |
| 136 |
Single Number |
 |
Easy |
| 137 |
Single Number II |
 |
Medium |
| 138 |
Copy List with Random Pointer |
 |
Medium |
| 139 |
Word Break |
 |
Medium |
| 141 |
Linked List Cycle |
 |
Easy |
| 142 |
Linked List Cycle II |
 |
Medium |
| 143 |
Reorder List |
 |
Medium |
| 144 |
Binary Tree Preorder Traversal |
 |
Easy |
| 145 |
Binary Tree Postorder Traversal |
 |
Easy |
| 146 |
LRU Cache |
 |
Medium |
| 147 |
Insertion Sort List |
 |
Medium |
| 149 |
Max Points on a Line |
 |
Hard |
| 150 |
Evaluate Reverse Polish Notation |
 |
Medium |
| 151 |
Reverse Words in a String |
 |
Medium |
| 152 |
Maximum Product Subarray |
 |
Medium |
| 153 |
Find Minimum in Rotated Sorted Array |
 |
Medium |
| 154 |
Find Minimum in Rotated Sorted Array II |
 |
Hard |
| 155 |
Min Stack |
 |
Medium |
| 160 |
Intersection of Two Linked Lists |
 |
Easy |
| 162 |
Find Peak Element |
 |
Medium |
| 163 |
Missing Ranges |
 |
Easy |
| 165 |
Compare Version Numbers |
 |
Medium |
| 166 |
Fraction to Recurring Decimal |
 |
Medium |
| 167 |
Two Sum II - Input Array Is Sorted |
 |
Medium |
| 169 |
Majority Element |
 |
Easy |
| 170 |
Two Sum III - Data structure design |
 |
Easy |
| 172 |
Factorial Trailing Zeroes |
 |
Medium |
| 173 |
Binary Search Tree Iterator |
 |
Medium |
| 188 |
Best Time to Buy and Sell Stock IV |
 |
Hard |
| 189 |
Rotate Array |
 |
Medium |
| 190 |
Reverse Bits |
 |
Easy |
| 191 |
Number of 1 Bits |
 |
Easy |
| 198 |
House Robber |
 |
Medium |
| 199 |
Binary Tree Right Side View |
 |
Medium |
| 200 |
Number of Islands |
 |
Medium |
| 201 |
Bitwise AND of Numbers Range |
 |
Medium |
| 202 |
Happy Number |
 |
Easy |
| 204 |
Count Primes |
 |
Medium |
| 205 |
Isomorphic Strings |
 |
Easy |
| 206 |
Reverse Linked List |
 |
Easy |
| 207 |
Course Schedule |
 |
Medium |
| 208 |
Implement Trie (Prefix Tree) |
 |
Medium |
| 209 |
Minimum Size Subarray Sum |
 |
Medium |
| 210 |
Course Schedule II |
 |
Medium |
| 212 |
Word Search II |
 |
Hard |
| 213 |
House Robber II |
 |
Medium |
| 214 |
Shortest Palindrome |
 |
Hard |
| 215 |
Kth Largest Element in an Array |
 |
Medium |
| 216 |
Combination Sum III |
 |
Medium |
| 217 |
Contains Duplicate |
 |
Easy |
| 219 |
Contains Duplicate II |
 |
Easy |
| 221 |
Maximal Square |
 |
Medium |
| 222 |
Count Complete Tree Nodes |
 |
Easy |
| 223 |
Rectangle Area |
 |
Medium |
| 225 |
Implement Stack using Queues |
 |
Easy |
| 226 |
Invert Binary Tree |
 |
Easy |
| 227 |
Basic Calculator II |
 |
Medium |
| 228 |
Summary Ranges |
 |
Easy |
| 230 |
Kth Smallest Element in a BST |
 |
Medium |
| 231 |
Power of Two |
 |
Easy |
| 232 |
Implement Queue using Stacks |
 |
Easy |
| 233 |
Number of Digit One |
 |
Hard |
| 235 |
Lowest Common Ancestor of a Binary Search Tree |
 |
Medium |
| 236 |
Lowest Common Ancestor of a Binary Tree |
 |
Medium |
| 237 |
Delete Node in a Linked List |
 |
Medium |
| 238 |
Product of Array Except Self |
 |
Medium |
| 239 |
Sliding Window Maximum |
 |
Hard |
| 240 |
Search a 2D Matrix II |
 |
Medium |
| 242 |
Valid Anagram |
 |
Easy |
| 244 |
Basic Calculator |
 |
Hard |
| 252 |
Meeting Rooms |
 |
Easy |
| 253 |
Meeting Rooms II |
 |
Medium |
| 255 |
Verify Preorder Sequence in Binary Search Tree |
 |
Medium |
| 257 |
Binary Tree Paths |
 |
Easy |
| 259 |
3Sum Smaller |
 |
Medium |
| 261 |
Graph Valid Tree |
 |
Medium |
| 263 |
Ugly Number |
 |
Easy |
| 264 |
Ugly Number |
 |
Easy |
| 266 |
Palindrome Permutation |
 |
Easy |
| 268 |
Missing Number |
 |
Easy |
| 272 |
Closest Binary Search Tree Value II |
 |
Hard |
| 273 |
Integer to English Words |
 |
Hard |
| 274 |
H-Index |
 |
Medium |
| 279 |
Perfect Squares |
 |
Medium |
| 281 |
Zigzag Iterator |
 |
Medium |
| 283 |
Move Zeroes |
 |
Easy |
| 285 |
Inorder Successor in BST |
 |
Medium |
| 286 |
Walls and Gates |
 |
Medium |
| 287 |
Find the Duplicate Number |
 |
Medium |
| 289 |
Game of Life |
 |
Medium |
| 290 |
Word Pattern |
 |
Easy |
| 292 |
Nim Game |
 |
Easy |
| 295 |
Find Median from Data Stream |
 |
Hard |
| 297 |
Serialize and Deserialize Binary Tree |
 |
Hard |
| 298 |
Binary Tree Longest Consecutive Sequence |
 |
Medium |
| 300 |
Longest Increasing Subsequence |
 |
Medium |
| 301 |
Remove Invalid Parentheses |
 |
Hard |
| 302 |
Smallest Rectangle Enclosing Black Pixels |
 |
Hard |
| 303 |
Range Sum Query - Immutable |
 |
Easy |
| 304 |
Range Sum Query 2D - Immutable |
 |
Medium |
| 307 |
Range Sum Query - Mutable |
 |
Medium |
| 308 |
Range Sum Query 2D - Mutable |
 |
Medium |
| 309 |
Best Time to Buy and Sell Stock with Cooldown |
 |
Medium |
| 311 |
Sparse Matrix Multiplication |
 |
Medium |
| 314 |
Binary Tree Vertical Order Traversal |
 |
Medium |
| 315 |
Count of Smaller Numbers After Self |
 |
Hard |
| 316 |
Remove Duplicate Letters |
 |
Medium |
| 317 |
Shortest Distance from All Buildings |
 |
Hard |
| 318 |
Maximum Product of Word Lengths |
 |
Easy |
| 322 |
Coin Change |
 |
Medium |
| 323 |
Number of Connected Components in an Undirected Graph |
 |
Medium |
| 325 |
Maximum Size Subarray Sum Equals k |
 |
Medium |
| 326 |
Power of Three |
 |
Easy |
| 328 |
Odd Even Linked List |
 |
Medium |
| 331 |
Verify Preorder Serialization of a Binary Tree |
 |
Medium |
| 333 |
Largest BST Subtree |
 |
Medium |
| 339 |
Nested List Weight Sum |
 |
Medium |
| 343 |
Integer Break |
 |
Medium |
| 344 |
Reverse String |
 |
Easy |
| 345 |
Reverse Vowels of a String |
 |
Easy |
| 346 |
Moving Average from Data Stream |
 |
Easy |
| 347 |
Top K Frequent Elements |
 |
Medium |
| 349 |
Intersection of Two Arrays |
 |
Easy |
| 352 |
Data Stream as Disjoint Intervals |
 |
Hard |
| 353 |
Design Snake Game |
 |
Medium |
| 355 |
Design Twitter |
 |
Medium |
| 358 |
Rearrange String k Distance Apart |
 |
Hard |
| 359 |
Logger Rate Limiter |
 |
Easy |
| 361 |
Bomb Enemy |
 |
Medium |
| 362 |
Design Hit Counter |
 |
Medium |
| 364 |
Nested List Weight Sum II |
 |
Medium |
| 368 |
Largest Divisible Subset |
 |
Medium |
| 370 |
Range Addition |
 |
Medium |
| 371 |
Sum of Two Integers |
 |
Medium |
| 373 |
Find K Pairs with Smallest Sums |
 |
Medium |
| 376 |
Wiggle Subsequence |
 |
Medium |
| 377 |
Combination Sum IV |
 |
Medium |
| 378 |
Kth Smallest Element in a Sorted Matrix |
 |
Medium |
| 379 |
Design Phone Directory |
 |
Medium |
| 380 |
Insert Delete GetRandom O(1) |
 |
Medium |
| 381 |
Insert Delete GetRandom O(1) - Duplicates allowed |
 |
Hard |
| 383 |
Ransom Note |
 |
Easy |
| 386 |
Lexicographical Numbers |
 |
Medium |
| 387 |
Roman to Integer |
 |
Easy |
| 389 |
Find the Difference |
 |
Easy |
| 392 |
Is Subsequence |
 |
Easy |
| 394 |
Decode String |
 |
Medium |
| 396 |
Rotate Function |
 |
Medium |
| 399 |
Evaluate Division |
 |
Medium |
| 401 |
Binary Watch |
 |
Easy |
| 402 |
Remove K Digits |
 |
Medium |
| 404 |
Sum of Left Leaves |
 |
Easy |
| 406 |
Queue Reconstruction by Height |
 |
Medium |
| 407 |
Trapping Rain Water II |
 |
Hard |
| 410 |
Split Array Largest Sum |
 |
Hard |
| 413 |
Arithmetic Slices |
 |
Medium |
| 416 |
Partition Equal Subset Sum |
 |
Medium |
| 417 |
Pacific Atlantic Water Flow |
 |
Medium |
| 421 |
Maximum XOR of Two Numbers in an Array |
 |
Medium |
| 422 |
Valid Word Square |
 |
Easy |
| 424 |
Longest Repeating Character Replacement |
 |
Medium |
| 425 |
Word Squares |
 |
Hard |
| 426 |
Convert Binary Search Tree to Sorted Doubly Linked List |
 |
Medium |
| 429 |
N-ary Tree Level Order Traversal |
 |
Medium |
| 432 |
All O`one Data Structure |
 |
Hard |
| 433 |
Minimum Genetic Mutation |
 |
Medium |
| 436 |
Find Right Interval |
 |
Medium |
| 440 |
K-th Smallest in Lexicographical Order |
 |
Hard |
| 445 |
Add Two Numbers II |
 |
Medium |
| 448 |
Find All Numbers Disappeared in an Array |
 |
Easy |
| 450 |
Delete Node in a BST |
 |
Medium |
| 452 |
Minimum Number of Arrows to Burst Balloons |
 |
Medium |
| 453 |
Minimum Moves to Equal Array Elements |
 |
Medium |
| 458 |
Poor Pigs |
 |
Hard |
| 459 |
Repeated Substring Pattern |
 |
Easy |
| 460 |
LFU Cache |
 |
Hard |
| 462 |
Minimum Moves to Equal Array Elements II |
 |
Medium |
| 463 |
Island Perimeter |
 |
Easy |
| 473 |
Matchsticks to Square |
 |
Medium |
| 474 |
Ones and Zeroes |
 |
Medium |
| 480 |
Sliding Window Median |
 |
Hard |
| 481 |
Magical String |
 |
Medium |
| 482 |
License Key Formatting |
 |
Easy |
| 485 |
Max Consecutive Ones |
 |
Easy |
| 486 |
Predict the Winner |
 |
Medium |
| 487 |
Max Consecutive Ones II |
 |
Medium |
| 490 |
The Maze |
 |
Medium |
| 493 |
Reverse Pairs |
 |
Hard |
| 494 |
Target Sum |
 |
Medium |
| 496 |
Next Greater Element I |
 |
Easy |
| 499 |
The Maze III |
 |
Hard |
| 502 |
IPO |
 |
Hard |
| 503 |
Next Greater Element II |
 |
Medium |
| 505 |
The Maze II |
 |
Medium |
| 506 |
Relative Ranks |
 |
Easy |
| 509 |
Fibonacci Number |
 |
Easy |
| 515 |
Find Largest Value in Each Tree Row |
 |
Medium |
| 516 |
Longest Palindromic Subsequence |
 |
Medium |
| 518 |
Coin Change II |
 |
Medium |
| 520 |
Detect Capital |
 |
Easy |
| 523 |
Continuous Subarray Sum |
 |
Medium |
| 527 |
Word Abbreviation |
 |
Hard |
| 530 |
Minimum Absolute Difference in BST |
 |
Easy |
| 538 |
Convert BST to Greater Tree |
 |
Medium |
| 543 |
Diameter of Binary Tree |
 |
Easy |
| 549 |
Binary Tree Longest Consecutive Sequence II |
 |
Medium |
| 560 |
Subarray Sum Equals K |
 |
Medium |
| 566 |
Reshape the Matrix |
 |
Easy |
| 576 |
Out of Boundary Paths |
 |
Medium |
| 581 |
Shortest Unsorted Continuous Subarray |
 |
Medium |
| 582 |
Kill Process |
 |
Medium |
| 583 |
Delete Operation for Two Strings |
 |
Medium |
| 588 |
Design In-Memory File System |
 |
Hard |
| 589 |
N-ary Tree Preorder Traversal |
 |
Easy |
| 590 |
N-ary Tree Postorder Traversal |
 |
Easy |
| 594 |
Longest Harmonious Subsequence |
 |
Easy |
| 611 |
Valid Triangle Number |
 |
Medium |
| 622 |
Design Circular Queue |
 |
Medium |
| 628 |
Maximum Product of Three Numbers |
 |
Easy |
| 629 |
K Inverse Pairs Array |
 |
Hard |
| 630 |
Course Schedule III |
 |
Hard |
| 631 |
Design Excel Sum Formula |
 |
Hard |
| 633 |
Sum of Square Numbers |
 |
Medium |
| 635 |
Design Log Storage System |
 |
Medium |
| 636 |
Exclusive Time of Functions |
 |
Medium |
| 637 |
Average of Levels in Binary Tree |
 |
Easy |
| 641 |
Design Circular Deque |
 |
Medium |
| 642 |
Design Search Autocomplete System |
 |
Hard |
| 645 |
Set Mismatch |
 |
Easy |
| 651 |
4 Keys Keyboard |
 |
Medium |
| 654 |
Maximum Binary Tree |
 |
Medium |
| 656 |
Coin Path |
 |
Hard |
| 657 |
Robot Return to Origin |
 |
Easy |
| 663 |
Equal Tree Partition |
 |
Medium |
| 665 |
Non-decreasing Array |
 |
Medium |
| 669 |
Trim a Binary Search Tree |
 |
Medium |
| 678 |
Valid Parenthesis String |
 |
Medium |
| 683 |
K Empty Slots |
 |
Hard |
| 684 |
Redundant Connection |
 |
Medium |
| 686 |
Repeated String Match |
 |
Medium |
| 687 |
Longest Univalue Path |
 |
Medium |
| 689 |
Maximum Sum of 3 Non-Overlapping Subarrays |
 |
Hard |
| 693 |
Binary Number with Alternating Bits |
 |
Easy |
| 695 |
Max Area of Island |
 |
Medium |
| 696 |
Count Binary Substrings |
 |
Easy |
| 700 |
Search in a Binary Search Tree |
 |
Easy |
| 701 |
Insert into a Binary Search Tree |
 |
Medium |
| 703 |
Kth Largest Element in a Stream |
 |
Easy |
| 704 |
Binary Search |
 |
Easy |
| 707 |
Design Linked List |
 |
Medium |
| 709 |
To Lower Case |
 |
Easy |
| 712 |
Minimum ASCII Delete Sum for Two Strings |
 |
Medium |
| 714 |
Best Time to Buy and Sell Stock with Transaction Fee |
 |
Medium |
| 715 |
Range Module |
 |
Hard |
| 717 |
1-bit and 2-bit Characters |
 |
Easy |
| 720 |
Longest Word in Dictionary |
 |
Medium |
| 722 |
Basic Calculator III |
 |
Hard |
| 728 |
Self Dividing Numbers |
 |
Easy |
| 729 |
My Calendar I |
 |
Medium |
| 731 |
My Calendar II |
 |
Medium |
| 732 |
My Calendar III |
 |
Hard |
| 739 |
Daily Temperatures |
 |
Medium |
| 740 |
Delete and Earn |
 |
Medium |
| 743 |
Network Delay Time |
 |
Medium |
| 744 |
Find Smallest Letter Greater Than Target |
 |
Easy |
| 745 |
Prefix and Suffix Search |
 |
Hard |
| 746 |
Min Cost Climbing Stairs |
 |
Easy |
| 755 |
Pour Water |
 |
Medium |
| 756 |
Pyramid Transition Matrix |
 |
Medium |
| 757 |
Set Intersection Size At Least Two |
 |
Hard |
| 761 |
Special Binary String |
 |
Hard |
| 762 |
Prime Number of Set Bits in Binary Representation |
 |
Easy |
| 763 |
Partition Labels |
 |
Medium |
| 769 |
Max Chunks To Make Sorted |
 |
Medium |
| 774 |
Minimize Max Distance to Gas Station |
 |
Hard |
| 777 |
Swap Adjacent in LR String |
 |
Medium |
| 778 |
Swim in Rising Water |
 |
Hard |
| 781 |
Rabbits in Forest |
 |
Medium |
| 785 |
Is Graph Bipartite? |
 |
Medium |
| 787 |
Cheapest Flights Within K Stops |
 |
Medium |
| 788 |
Rotated Digits |
 |
Medium |
| 790 |
Domino and Tromino Tiling |
 |
Medium |
| 792 |
Number of Matching Subsequences |
 |
Medium |
| 796 |
Rotate String |
 |
Easy |
| 797 |
All Paths From Source to Target |
 |
Medium |
| 799 |
Champagne Tower |
 |
Medium |
| 802 |
Find Eventual Safe States |
 |
Medium |
| 804 |
Unique Morse Code Words |
 |
Easy |
| 808 |
Soup Servings |
 |
Medium |
| 812 |
Largest Triangle Area |
 |
Easy |
| 815 |
Bus Routes |
 |
Hard |
| 820 |
Short Encoding of Words |
 |
Medium |
| 823 |
Binary Trees With Factors |
 |
Medium |
| 827 |
Making A Large Island |
 |
Hard |
| 831 |
Masking Personal Information |
 |
Medium |
| 834 |
Sum of Distances in Tree |
 |
Hard |
| 835 |
Image Overlap |
 |
Medium |
| 836 |
Rectangle Overlap |
 |
Easy |
| 838 |
Push Dominoes |
 |
Medium |
| 840 |
Magic Squares In Grid |
 |
Medium |
| 841 |
Keys and Rooms |
 |
Medium |
| 848 |
Shifting Letters |
 |
Medium |
| 850 |
Rectangle Area II |
 |
Hard |
| 852 |
Peak Index in a Mountain Array |
 |
Medium |
| 853 |
Car Fleet |
 |
Medium |
| 856 |
Score of Parentheses |
 |
Medium |
| 858 |
Mirror Reflection |
 |
Medium |
| 860 |
Lemonade Change |
 |
Easy |
| 863 |
All Nodes Distance K in Binary Tree |
 |
Medium |
| 865 |
https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes |
 |
Medium |
| 867 |
Transpose Matrix |
 |
Easy |
| 868 |
Binary Gap |
 |
Easy |
| 869 |
Reordered Power of 2 |
 |
Medium |
| 873 |
Length of Longest Fibonacci Subsequence |
 |
Medium |
| 874 |
Walking Robot Simulation |
 |
Medium |
| 875 |
Koko Eating Bananas |
 |
Medium |
| 876 |
Middle of the Linked List |
 |
Easy |
| 877 |
Stone Game |
 |
Medium |
| 881 |
Boats to Save People |
 |
Medium |
| 883 |
Projection Area of 3D Shapes |
 |
Easy |
| 884 |
Uncommon Words from Two Sentences |
 |
Easy |
| 885 |
Spiral Matrix III |
 |
Medium |
| 886 |
Possible Bipartition |
 |
Medium |
| 889 |
Construct Binary Tree from Preorder and Postorder Traversal |
 |
Medium |
| 890 |
Find and Replace Pattern |
 |
Medium |
| 895 |
Maximum Frequency Stack |
 |
Hard |
| 898 |
Bitwise ORs of Subarrays |
 |
Medium |
| 901 |
Online Stock Span |
 |
Medium |
| 904 |
Fruit Into Baskets |
 |
Medium |
| 909 |
Snakes and Ladders |
 |
Medium |
| 912 |
Sort an Array |
 |
Medium |
| 913 |
Cat and Mouse |
 |
Hard |
| 914 |
X of a Kind in a Deck of Cards |
 |
Easy |
| 916 |
Word Subsets |
 |
Medium |
| 918 |
Maximum Sum Circular Subarray |
 |
Medium |
| 921 |
Minimum Add to Make Parentheses Valid |
 |
Medium |
| 925 |
Long Pressed Name |
 |
Easy |
| 931 |
Minimum Falling Path Sum |
 |
Medium |
| 932 |
Beautiful Array |
 |
Medium |
| 933 |
Number of Recent Calls |
 |
Easy |
| 940 |
Distinct Subsequences II |
 |
Hard |
| 941 |
Valid Mountain Array |
 |
Easy |
| 944 |
Delete Columns to Make Sorted |
 |
Easy |
| 945 |
Minimum Increment to Make Array Unique |
 |
Medium |
| 948 |
Bag of Tokens |
 |
Medium |
| 952 |
Largest Component Size by Common Factor |
 |
Hard |
| 953 |
Verifying an Alien Dictionary |
 |
Easy |
| 955 |
Delete Columns to Make Sorted II |
 |
Medium |
| 959 |
Regions Cut By Slashes |
 |
Medium |
| 960 |
Delete Columns to Make Sorted III |
 |
Hard |
| 961 |
N-Repeated Element in Size 2N Array |
 |
Easy |
| 966 |
Vowel Spellchecker |
 |
Medium |
| 968 |
Binary Tree Cameras |
 |
Hard |
| 975 |
Odd Even Jump |
 |
Hard |
| 976 |
Largest Perimeter Triangle |
 |
Easy |
| 983 |
Minimum Cost For Tickets |
 |
Medium |
| 989 |
Add to Array-Form of Integer |
 |
Easy |
| 994 |
Rotting Oranges |
 |
Medium |
| 998 |
Maximum Binary Tree II |
 |
Medium |
| 1004 |
Max Consecutive Ones III |
 |
Medium |
| 1007 |
Minimum Domino Rotations For Equal Row |
 |
Medium |
| 1009 |
Complement of Base 10 Integer |
 |
Easy |
| 1011 |
Capacity To Ship Packages Within D Days |
 |
Medium |
| 1014 |
Best Sightseeing Pair |
 |
Medium |
| 1015 |
Smallest Integer Divisible by K |
 |
Medium |
| 1018 |
Binary Prefix Divisible By 5 |
 |
Easy |
| 1019 |
Next Greater Node In Linked List |
 |
Medium |
| 1021 |
Remove Outermost Parentheses |
 |
Easy |
| 1022 |
Sum of Root To Leaf Binary Numbers |
 |
Easy |
| 1025 |
Divisor Game |
 |
Easy |
| 1026 |
Determine if String Halves Are Alike |
 |
Medium |
| 1028 |
Recover a Tree From Preorder Traversal |
 |
Hard |
| 1032 |
Stream of Characters |
 |
Hard |
| 1038 |
Binary Search Tree to Greater Sum Tree |
 |
Medium |
| 1039 |
Minimum Score Triangulation of Polygon |
 |
Medium |
| 1046 |
Last Stone Weight |
 |
Easy |
| 1047 |
Remove All Adjacent Duplicates In String |
 |
Easy |
| 1048 |
Longest String Chain |
 |
Medium |
| 1051 |
Height Checker |
 |
Easy |
| 1052 |
Grumpy Bookstore Owner |
 |
Medium |
| 1055 |
Shortest Way to Form String |
 |
Medium |
| 1057 |
Campus Bikes |
 |
Medium |
| 1059 |
All Paths from Source Lead to Destination |
 |
Medium |
| 1061 |
Lexicographically Smallest Equivalent String |
 |
Medium |
| 1063 |
Number of Valid Subarrays |
 |
Hard |
| 1066 |
Campus Bikes II |
 |
Medium |
| 1074 |
Number of Submatrices That Sum to Target |
 |
Hard |
| 1079 |
Letter Tile Possibilities |
 |
Medium |
| 1087 |
Evaluate the Bracket Pairs of a String |
 |
Medium |
| 1092 |
Shortest Common Supersequence |
 |
Hard |
| 1094 |
Car Pooling |
 |
Medium |
| 1095 |
Brace Expansion II |
 |
Hard |
| 1096 |
Find in Mountain Array |
 |
Hard |
| 1100 |
Find K-Length Substrings With No Repeated Characters |
 |
Medium |
| 1109 |
Corporate Flight Bookings |
 |
Medium |
| 1110 |
Delete Nodes And Return Forest |
 |
Medium |
| 1111 |
Maximum Nesting Depth of Two Valid Parentheses Strings |
 |
Medium |
| 1121 |
Divide Array Into Increasing Sequences |
 |
Hard |
| 1122 |
Relative Sort Array |
 |
Easy |
| 1123 |
Lowest Common Ancestor of Deepest Leaves |
 |
Medium |
| 1128 |
Number of Equivalent Domino Pairs |
 |
Easy |
| 1129 |
Shortest Path with Alternating Colors |
 |
Medium |
| 1133 |
Largest Unique Number |
 |
Easy |
| 1135 |
Connecting Cities With Minimum Cost |
 |
Medium |
| 1137 |
N-th Tribonacci Number |
 |
Easy |
| 1140 |
Stone Game II |
 |
Medium |
| 1143 |
Longest Common Subsequence |
 |
Medium |
| 1145 |
Binary Tree Coloring Game |
 |
Medium |
| 1150 |
Check If a Number Is Majority Element in a Sorted Array |
 |
Easy |
| 1151 |
Minimum Swaps to Group All 1's Together |
 |
Medium |
| 1152 |
Analyze User Website Visit Pattern |
 |
Medium |
| 1161 |
Maximum Level Sum of a Binary Tree |
 |
Medium |
| 1168 |
Optimize Water Distribution in a Village |
 |
Hard |
| 1176 |
Diet Plan Performance |
 |
Easy |
| 1181 |
Before and After Puzzle |
 |
Medium |
| 1182 |
Shortest Distance to Target Color |
 |
Medium |
| 1183 |
Maximum Number of Ones |
 |
Hard |
| 1189 |
Maximum Number of Balloons |
 |
Easy |
| 1190 |
Reverse Substrings Between Each Pair of Parentheses |
 |
Medium |
| 1191 |
K-Concatenation Maximum Sum |
 |
Medium |
| 1198 |
Find Smallest Common Element in All Rows |
 |
Medium |
| 1200 |
Minimum Absolute Difference |
 |
Easy |
| 1207 |
Unique Number of Occurrences |
 |
Easy |
| 1209 |
Remove All Adjacent Duplicates in String II |
 |
Medium |
| 1214 |
Two Sum BSTs |
 |
Medium |
| 1220 |
Count Vowels Permutation |
 |
Hard |
| 1232 |
Check If It Is a Straight Line |
 |
Easy |
| 1233 |
Remove Sub-Folders from the Filesystem |
 |
Medium |
| 1239 |
Maximum Length of a Concatenated String with Unique Characters |
 |
Medium |
| 1244 |
Design A Leaderboard |
 |
Medium |
| 1249 |
Minimum Remove to Make Valid Parentheses |
 |
Medium |
| 1254 |
Minimum Remove to Make Valid Parentheses |
 |
Medium |
| 1255 |
Maximum Score Words Formed by Letters |
 |
Hard |
| 1260 |
Shift 2D Grid |
 |
Easy |
| 1261 |
Find Elements in a Contaminated Binary Tree |
 |
Medium |
| 1262 |
Greatest Sum Divisible by Three |
 |
Medium |
| 1266 |
Minimum Time Visiting All Points |
 |
Easy |
| 1267 |
Count Servers that Communicate |
 |
Medium |
| 1268 |
Search Suggestions System |
 |
Medium |
| 1269 |
Number of Ways to Stay in the Same Place After Some Steps |
 |
Hard |
| 1277 |
Count Square Submatrices with All Ones |
 |
Medium |
| 1281 |
Subtract the Product and Sum of Digits of an Integer |
 |
Easy |
| 1288 |
Remove Covered Intervals |
 |
Medium |
| 1289 |
Minimum Falling Path Sum II |
 |
Hard |
| 1290 |
Convert Binary Number in a Linked List to Integer |
 |
Easy |
| 1291 |
Sequential Digits |
 |
Medium |
| 1292 |
Maximum Side Length of a Square with Sum Less than or Equal to Threshold |
 |
Medium |
| 1295 |
Find Numbers with Even Number of Digits |
 |
Easy |
| 1298 |
Maximum Candies You Can Get from Boxes |
 |
Hard |
| 1301 |
Number of Paths with Max Score |
 |
Hard |
| 1304 |
Find N Unique Integers Sum up to Zero |
 |
Easy |
| 1306 |
Jump Game III |
 |
Medium |
| 1309 |
Decrypt String from Alphabet to Integer Mapping |
 |
Easy |
| 1311 |
Get Watched Videos by Your Friends |
 |
Medium |
| 1314 |
Matrix Block Sum |
 |
Medium |
| 1317 |
Convert Integer to the Sum of Two No-Zero Integers |
 |
Easy |
| 1320 |
Minimum Distance to Type a Word Using Two Fingers |
 |
Hard |
| 1331 |
Rank Transform of an Array |
 |
Easy |
| 1332 |
Remove Palindromic Subsequences |
 |
Easy |
| 1334 |
Find the City With the Smallest Number of Neighbors at a Threshold Distance |
 |
Medium |
| 1338 |
Reduce Array Size to The Half |
 |
Medium |
| 1339 |
Maximum Product of Splitted Binary Tree |
 |
Medium |
| 1340 |
Jump Game V |
 |
Hard |
| 1342 |
Number of Steps to Reduce a Number to Zero |
 |
Easy |
| 1343 |
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold |
 |
Medium |
| 1344 |
Angle Between Hands of a Clock |
 |
Medium |
| 1345 |
Jump Game IV |
 |
Hard |
| 1346 |
Check If N and Its Double Exist |
 |
Easy |
| 1347 |
Minimum Number of Steps to Make Two Strings Anagram |
 |
Medium |
| 1351 |
Count Negative Numbers in a Sorted Matrix |
 |
Easy |
| 1352 |
Product of the Last K Numbers |
 |
Medium |
| 1353 |
Maximum Number of Events That Can Be Attended |
 |
Medium |
| 1354 |
Construct Target Array With Multiple Sums |
 |
Hard |
| 1356 |
Sort Integers by The Number of 1 Bits |
 |
Easy |
| 1357 |
Apply Discount Every n Orders |
 |
Medium |
| 1358 |
Number of Substrings Containing All Three Characters |
 |
Medium |
| 1365 |
How Many Numbers Are Smaller Than the Current Number |
 |
Easy |
| 1368 |
Minimum Cost to Make at Least One Valid Path in a Grid |
 |
Hard |
| 1382 |
Balance a Binary Search Tree |
 |
Medium |
| 1385 |
Find the Distance Value Between Two Arrays |
 |
Easy |
| 1386 |
Cinema Seat Allocation |
 |
Medium |
| 1390 |
Four Divisors |
 |
Medium |
| 1391 |
Check if There is a Valid Path in a Grid |
 |
Medium |
| 1392 |
Longest Happy Prefix |
 |
Hard |
| 1394 |
Find Lucky Integer in an Array |
 |
Easy |
| 1399 |
Count Largest Group |
 |
Easy |
| 1400 |
Construct K Palindrome Strings |
 |
Medium |
| 1401 |
Circle and Rectangle Overlapping |
 |
Medium |
| 1404 |
Number of Steps to Reduce a Number in Binary Representation to One |
 |
Medium |
| 1405 |
Longest Happy String |
 |
Medium |
| 1406 |
Stone Game III |
 |
Hard |
| 1408 |
String Matching in an Array |
 |
Easy |
| 1411 |
Number of Ways to Paint N × 3 Grid |
 |
Hard |
| 1415 |
The k-th Lexicographical String of All Happy Strings of Length n |
 |
Medium |
| 1422 |
Maximum Score After Splitting a String |
 |
Easy |
| 1423 |
Maximum Points You Can Obtain from Cards |
 |
Medium |
| 1429 |
First Unique Number |
 |
Medium |
| 1432 |
Max Difference You Can Get From Changing an Integer |
 |
Medium |
| 1437 |
Check If All 1's Are at Least Length K Places Away |
 |
Easy |
| 1438 |
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit |
 |
Medium |
| 1441 |
Build an Array With Stack Operations |
 |
Medium |
| 1455 |
Check If a Word Occurs As a Prefix of Any Word in a Sentence |
 |
Easy |
| 1458 |
Max Dot Product of Two Subsequences |
 |
Hard |
| 1460 |
Make Two Arrays Equal by Reversing Subarrays |
 |
Easy |
| 1461 |
Check If a String Contains All Binary Codes of Size K |
 |
Medium |
| 1462 |
Course Schedule IV |
 |
Medium |
| 1464 |
Maximum Product of Two Elements in an Array |
 |
Easy |
| 1465 |
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts |
 |
Medium |
| 1470 |
Shuffle the Array |
 |
Easy |
| 1473 |
Paint House III |
 |
Hard |
| 1474 |
Delete N Nodes After M Nodes of a Linked List |
 |
Easy |
| 1475 |
Final Prices With a Special Discount in a Shop |
 |
Easy |
| 1476 |
Subrectangle Queries |
 |
Medium |
| 1477 |
Find Two Non-overlapping Sub-arrays Each With Target Sum |
 |
Medium |
| 1480 |
Running Sum of 1d Array |
 |
Easy |
| 1482 |
Minimum Number of Days to Make m Bouquets |
 |
Medium |
| 1488 |
Avoid Flood in The City |
 |
Medium |
| 1489 |
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree |
 |
Hard |
| 1491 |
Average Salary Excluding the Minimum and Maximum Salary |
 |
Easy |
| 1492 |
The kth Factor of n |
 |
Medium |
| 1498 |
Number of Subsequences That Satisfy the Given Sum Condition |
 |
Medium |
| 1502 |
Can Make Arithmetic Progression From Sequence |
 |
Easy |
| 1507 |
Reformat Date |
 |
Easy |
| 1508 |
Range Sum of Sorted Subarray Sums |
 |
Medium |
| 1509 |
Minimum Difference Between Largest and Smallest Value in Three Moves |
 |
Medium |
| 1510 |
Stone Game IV |
 |
Hard |
| 1513 |
[https://leetcode.com/problems/number-of-substrings-with-only-1s](Number of Substrings With Only 1s) |
 |
Medium |
| 1514 |
Path with Maximum Probability |
 |
Medium |
| 1518 |
Water Bottles |
 |
Easy |
| 1520 |
Maximum Number of Non-Overlapping Substrings |
 |
Hard |
| 1523 |
Count Odd Numbers in an Interval Range |
 |
Easy |
| 1524 |
Number of Sub-arrays With Odd Sum |
 |
Medium |
| 1526 |
Minimum Number of Increments on Subarrays to Form a Target Array |
 |
Hard |
| 1534 |
Count Good Triplets |
 |
Easy |
| 1536 |
Minimum Swaps to Arrange a Binary Grid |
 |
Medium |
| 1541 |
Minimum Insertions to Balance a Parentheses String |
 |
Medium |
| 1545 |
Find Kth Bit in Nth Binary String |
 |
Medium |
| 1550 |
Three Consecutive Odds |
 |
Easy |
| 1554 |
Strings Differ by One Character |
 |
Medium |
| 1557 |
Minimum Number of Vertices to Reach All Nodes |
 |
Medium |
| 1559 |
Detect Cycles in 2D Grid |
 |
Medium |
| 1563 |
Stone Game V |
 |
Hard |
| 1567 |
Maximum Length of Subarray With Positive Product |
 |
Medium |
| 1569 |
Number of Ways to Reorder Array to Get Same BST |
 |
Hard |
| 1570 |
Dot Product of Two Sparse Vectors |
 |
Medium |
| 1572 |
Matrix Diagonal Sum |
 |
Easy |
| 1578 |
Minimum Time to Make Rope Colorful |
 |
Medium |
| 1582 |
Special Positions in a Binary Matrix |
 |
Easy |
| 1584 |
Min Cost to Connect All Points |
 |
Medium |
| 1588 |
Sum of All Odd Length Subarrays |
 |
Easy |
| 1590 |
Make Sum Divisible by P |
 |
Medium |
| 1593 |
// Split a String Into the Max Number of Unique Substrings |
 |
Medium |
| 1594 |
Maximum Non Negative Product in a Matrix |
 |
Medium |
| 1603 |
Design Parking System |
 |
Easy |
| 1606 |
Find Servers That Handled Most Number of Requests |
 |
Hard |
| 1611 |
Minimum One Bit Operations to Make Integers Zero |
 |
Hard |
| 1614 |
Maximum Nesting Depth of the Parentheses |
 |
Easy |
| 1621 |
Number of Sets of K Non-Overlapping Line Segments |
 |
Medium |
| 1622 |
Fancy Sequence |
 |
Hard |
| 1625 |
Lexicographically Smallest String After Applying Operations |
 |
Medium |
| 1631 |
Path With Minimum Effort |
 |
Medium |
| 1639 |
Number of Ways to Form a Target String Given a Dictionary |
 |
Hard |
| 1642 |
Furthest Building You Can Reach |
 |
Medium |
| 1644 |
Lowest Common Ancestor of a Binary Tree II |
 |
Medium |
| 1647 |
Minimum Deletions to Make Character Frequencies Unique |
 |
Medium |
| 1650 |
Lowest Common Ancestor of a Binary Tree III |
 |
Medium |
| 1653 |
Minimum Deletions to Make String Balanced |
 |
Medium |
| 1657 |
Determine if Two Strings Are Close |
 |
Medium |
| 1658 |
Minimum Operations to Reduce X to Zero |
 |
Medium |
| 1664 |
Ways to Make a Fair Array |
 |
Medium |
| 1665 |
Minimum Initial Energy to Finish Tasks |
 |
Hard |
| 1668 |
Maximum Repeating Substring |
 |
Easy |
| 1670 |
Design Front Middle Back Queue |
 |
Medium |
| 1672 |
Richest Customer Wealth |
 |
Easy |
| 1674 |
Minimum Moves to Make Array Complementary |
 |
Medium |
| 1676 |
Lowest Common Ancestor of a Binary Tree IV |
 |
Medium |
| 1678 |
Goal Parser Interpretation |
 |
Easy |
| 1680 |
Concatenation of Consecutive Binary Numbers |
 |
Medium |
| 1689 |
Partitioning Into Minimum Number Of Deci-Binary Numbers |
 |
Medium |
| 1695 |
Maximum Erasure Value |
 |
Medium |
| 1696 |
Jump Game VI |
 |
Medium |
| 1697 |
Checking Existence of Edge Length Limited Paths |
 |
Hard |
| 1700 |
Number of Students Unable to Eat Lunch |
 |
Easy |
| 1704 |
Determine if String Halves Are Alike |
 |
Easy |
| 1705 |
Maximum Number of Eaten Apples |
 |
Medium |
| 1710 |
Maximum Units on a Truck |
 |
Easy |
| 1716 |
Calculate Money in Leetcode Bank |
 |
Easy |
| 1717 |
Maximum Score From Removing Substrings |
 |
Medium |
| 1718 |
Construct the Lexicographically Largest Valid Sequence |
 |
Medium |
| 1722 |
Minimize Hamming Distance After Swap Operations |
 |
Medium |
| 1724 |
Checking Existence of Edge Length Limited Paths II |
 |
Hard |
| 1726 |
Tuple with Same Product |
 |
Medium |
| 1727 |
Largest Submatrix With Rearrangements |
 |
Medium |
| 1732 |
Find the Highest Altitude |
 |
Easy |
| 1733 |
Minimum Number of People to Teach |
 |
Medium |
| 1749 |
Maximum Absolute Sum of Any Subarray |
 |
Medium |
| 1751 |
Maximum Number of Events That Can Be Attended II |
 |
Hard |
| 1752 |
Check if Array Is Sorted and Rotated |
 |
Easy |
| 1756 |
Design Most Recently Used Queue |
 |
Medium |
| 1758 |
Minimum Changes To Make Alternating Binary String |
 |
Easy |
| 1760 |
Minimum Limit of Balls in a Bag |
 |
Medium |
| 1762 |
Buildings With an Ocean View |
 |
Medium |
| 1765 |
Map of Highest Peak |
 |
Medium |
| 1768 |
Merge Strings Alternately |
 |
Easy |
| 1769 |
Minimum Number of Operations to Move All Balls to Each Box |
 |
Medium |
| 1779 |
Find Nearest Point That Has the Same X or Y Coordinate |
 |
Easy |
| 1780 |
Check if Number is a Sum of Powers of Three |
 |
Medium |
| 1784 |
Check if Binary String Has at Most One Segment of Ones |
 |
Easy |
| 1790 |
Check if One String Swap Can Make Strings Equal |
 |
Easy |
| 1792 |
Maximum Average Pass Ratio |
 |
Medium |
| 1797 |
Checking Existence of Edge Length Limited Paths |
 |
Hard |
| 1800 |
Maximum Ascending Subarray Sum |
 |
Easy |
| 1801 |
Smallest Subsequence of Distinct Characters |
 |
Medium |
| 1804 |
Implement Trie II (Prefix Tree) |
 |
Medium |
| 1822 |
Sign of the Product of an Array |
 |
Easy |
| 1833 |
Maximum Ice Cream Bars |
 |
Medium |
| 1840 |
Maximum Building Height |
 |
Hard |
| 1846 |
Maximum Element After Decreasing and Rearranging |
 |
Medium |
| 1848 |
Minimum Distance to the Target Element |
 |
Easy |
| 1855 |
Maximum Distance Between a Pair of Values |
 |
Medium |
| 1857 |
Largest Color Value in a Directed Graph |
 |
Hard |
| 1861 |
Rotating the Box |
 |
Medium |
| 1863 |
Sum of All Subset XOR Totals |
 |
Easy |
| 1865 |
Finding Pairs With a Certain Sum |
 |
Medium |
| 1866 |
Number of Ways to Rearrange Sticks With K Sticks Visible |
 |
Hard |
| 1871 |
Jump Game VII |
 |
Medium |
| 1872 |
Stone Game VIII |
 |
Hard |
| 1874 |
Minimize Product Sum of Two Arrays |
 |
Medium |
| 1877 |
Minimize Maximum Pair Sum in Array |
 |
Medium |
| 1878 |
Get Biggest Three Rhombus Sums in a Grid |
 |
Medium |
| 1882 |
Process Tasks Using Servers |
 |
Medium |
| 1886 |
Determine Whether Matrix Can Be Obtained By Rotation |
 |
Easy |
| 1887 |
Reduction Operations to Make the Array Elements Equal |
 |
Medium |
| 1888 |
Minimum Number of Flips to Make the Binary String Alternating |
 |
Medium |
| 1895 |
Largest Magic Square |
 |
Medium |
| 1900 |
The Earliest and Latest Rounds Where Players Compete |
 |
Hard |
| 1910 |
Remove All Occurrences of a Substring |
 |
Medium |
| 1912 |
Design Movie Rental System |
 |
Medium |
| 1914 |
Cyclically Rotating a Grid |
 |
Medium |
| 1915 |
Number of Wonderful Substrings |
 |
Medium |
| 1920 |
Build Array from Permutation |
 |
Easy |
| 1922 |
Count Good Numbers |
 |
Medium |
| 1925 |
Count Square Sum Triples |
 |
Easy |
| 1929 |
Concatenation of Array |
 |
Easy |
| 1930 |
Unique Length-3 Palindromic Subsequences |
 |
Medium |
| 1931 |
Painting a Grid With Three Different Colors |
 |
Hard |
| 1935 |
Maximum Number of Words You Can Type |
 |
Medium |
| 1944 |
Number of Visible People in a Queue |
 |
Hard |
| 1948 |
Delete Duplicate Folders in System |
 |
Hard |
| 1949 |
https://leetcode.com/problems/strong-friendship |
 |
Strong Friendship |
| 1957 |
Delete Characters to Make Fancy String |
 |
Easy |
| 1967 |
Number of Strings That Appear as Substrings in Word |
 |
Easy |
| 1970 |
Last Day Where You Can Still Cross |
 |
Hard |
| 1971 |
Find if Path Exists in Graph |
 |
Easy |
| 1975 |
Maximum Matrix Sum |
 |
Medium |
| 1976 |
Number of Ways to Arrive at Destination |
 |
Medium |
| 1979 |
Find Greatest Common Divisor of Array |
 |
Easy |
| 1980 |
Find Unique Binary String |
 |
Medium |
| 1984 |
Minimum Difference Between Highest and Lowest of K Scores |
 |
Easy |
| 1998 |
GCD Sort of an Array |
 |
Hard |
| 2000 |
Reverse Prefix of Word |
 |
Easy |
| 2011 |
Final Value of Variable After Performing Operations |
 |
Easy |
| 2014 |
Longest Subsequence Repeated k Times |
 |
Hard |
| 2016 |
Maximum Difference Between Increasing Elements |
 |
Easy |
| 2017 |
Grid Game |
 |
Medium |
| 2029 |
Stone Game IX |
 |
Medium |
| 2031 |
Count Subarrays With More Ones Than Zeros |
 |
Medium |
| 2033 |
Minimum Operations to Make a Uni-Value Grid |
 |
Medium |
| 2037 |
Minimum Number of Moves to Seat Everyone |
 |
Easy |
| 2040 |
Kth Smallest Product of Two Sorted Arrays |
 |
Hard |
| 2043 |
Simple Bank System |
 |
Medium |
| 2044 |
Count Number of Maximum Bitwise-OR Subsets |
 |
Medium |
| 2048 |
Next Greater Numerically Balanced Number |
 |
Medium |
| 2054 |
Two Best Non-Overlapping Events |
 |
Medium |
| 2058 |
Find the Minimum and Maximum Number of Nodes Between Critical Points |
 |
Medium |
| 2065 |
Maximum Path Quality of a Graph |
 |
Hard |
| 2069 |
Walking Robot Simulation II |
 |
Medium |
| 2071 |
Maximum Number of Tasks You Can Assign |
 |
Hard |
| 2073 |
Time Needed to Buy Tickets |
 |
Easy |
| 2075 |
Decode the Slanted Ciphertext |
 |
Medium |
| 2076 |
Process Restricted Friend Requests |
 |
Hard |
| 2078 |
Two Furthest Houses With Different Colors |
 |
Easy |
| 2080 |
Range Frequency Queries |
 |
Medium |
| 2081 |
Sum of k-Mirror Numbers |
 |
Hard |
| 2089 |
Find Target Indices After Sorting Array |
 |
Easy |
| 2091 |
Removing Minimum and Maximum From Array |
 |
Medium |
| 2092 |
Find All People With Secret |
 |
Hard |
| 2094 |
Finding 3-Digit Even Numbers |
 |
Easy |
| 2095 |
Delete the Middle Node of a Linked List |
 |
Medium |
| 2099 |
Find Subsequence of Length K With the Largest Sum |
 |
Easy |
| 2106 |
Maximum Fruits Harvested After at Most K Steps |
 |
Hard |
| 2109 |
Adding Spaces to a String |
 |
Medium |
| 2110 |
Number of Smooth Descent Periods of a Stock |
 |
Medium |
| 2115 |
Find All Possible Recipes from Given Supplies |
 |
Medium |
| 2116 |
Check if a Parentheses String Can Be Valid |
 |
Medium |
| 2124 |
Check if All A's Appears Before All B's |
 |
Easy |
| 2125 |
Number of Laser Beams in a Bank |
 |
Medium |
| 2126 |
Destroying Asteroids |
 |
Medium |
| 2127 |
Maximum Employees to Be Invited to a Meeting |
 |
Hard |
| 2130 |
Maximum Twin Sum of a Linked List |
 |
Medium |
| 2131 |
Longest Palindrome by Concatenating Two Letter Words |
 |
Medium |
| 2134 |
Minimum Swaps to Group All 1's Together II |
 |
Medium |
| 2138 |
Divide a String Into Groups of Size k |
 |
Easy |
| 2140 |
Solving Questions With Brainpower |
 |
Medium |
| 2141 |
Maximum Running Time of N Computers |
 |
Hard |
| 2144 |
Minimum Cost of Buying Candies With Discount |
 |
Easy |
| 2145 |
Count the Hidden Sequences |
 |
Medium |
| 2147 |
Number of Ways to Divide a Long Corridor |
 |
Hard |
| 2149 |
Rearrange Array Elements by Sign |
 |
Medium |
| 2154 |
Keep Multiplying Found Values by Two |
 |
Easy |
| 2158 |
Amount of New Area Painted Each Day |
 |
Hard |
| 2161 |
Partition Array According to Given Pivot |
 |
Medium |
| 2163 |
Minimum Difference in Sums After Removal of Elements |
 |
Hard |
| 2168 |
Unique Substrings With Equal Digit Frequency |
 |
Medium |
| 2169 |
Count Operations to Obtain Zero |
 |
Easy |
| 2176 |
Count Equal and Divisible Pairs in an Array |
 |
Easy |
| 2179 |
Count Good Triplets in an Array |
 |
Hard |
| 2181 |
Merge Nodes in Between Zeros |
 |
Medium |
| 2182 |
Construct String With Repeat Limit |
 |
Medium |
| 2185 |
Counting Words With a Given Prefix |
 |
Easy |
| 2196 |
Create Binary Tree From Descriptions |
 |
Medium |
| 2197 |
Replace Non-Coprime Numbers in Array |
 |
Hard |
| 2200 |
Find All K-Distant Indices in an Array |
 |
Easy |
| 2203 |
Minimum Weighted Subgraph With the Required Paths |
 |
Hard |
| 2206 |
Divide Array Into Equal Pairs |
 |
Easy |
| 2210 |
Count Hills and Valleys in an Array |
 |
Easy |
| 2211 |
Count Collisions on a Road |
 |
Medium |
| 2213 |
Longest Substring of One Repeating Character |
 |
Hard |
| 2221 |
Find Triangular Sum of an Array |
 |
Easy |
| 2223 |
Sum of Scores of Built Strings |
 |
Hard |
| 2225 |
Find Players With Zero or One Losses |
 |
Medium |
| 2235 |
Add Two Integers |
 |
Easy |
| 2236 |
Root Equals Sum of Children |
 |
Easy |
| 2243 |
Calculate Digit Sum of a String |
 |
Easy |
| 2257 |
Count Unguarded Cells in the Grid |
 |
Medium |
| 2265 |
Count Nodes Equal to Average of Subtree |
 |
Medium |
| 2266 |
Maximum Candies Allocated to K Children |
 |
Medium |
| 2267 |
Check if There Is a Valid Parentheses String Path |
 |
Hard |
| 2270 |
Number of Ways to Split Array |
 |
Medium |
| 2273 |
Find Resultant Array After Removing Anagrams |
 |
Easy |
| 2294 |
Partition Array Such That Maximum Difference Is K |
 |
Medium |
| 2300 |
Successful Pairs of Spells and Potions |
 |
Medium |
| 2302 |
Count Subarrays With Score Less Than K |
 |
Hard |
| 2311 |
Longest Binary Subsequence Less Than or Equal to K |
 |
Medium |
| 2319 |
Check if Matrix Is X-Matrix |
 |
Easy |
| 2320 |
Count Number of Ways to Place Houses |
 |
Medium |
| 2321 |
Maximum Score Of Spliced Array |
 |
Hard |
| 2322 |
Minimum Score After Removals on a Tree |
 |
Hard |
| 2326 |
Spiral Matrix IV |
 |
Medium |
| 2327 |
Number of People Aware of a Secret |
 |
Medium |
| 2331 |
Evaluate Boolean Binary Tree |
 |
Easy |
| 2333 |
Minimum Sum of Squared Difference |
 |
Medium |
| 2337 |
Move Pieces to Obtain a String |
 |
Medium |
| 2338 |
Count the Number of Ideal Arrays |
 |
Hard |
| 2342 |
Max Sum of a Pair With Equal Sum of Digits |
 |
Medium |
| 2345 |
Finding the Number of Visible Mountains |
 |
Medium |
| 2349 |
Design a Number Container System |
 |
Medium |
| 2353 |
Design a Food Rating System |
 |
Medium |
| 2364 |
Count Number of Bad Pairs |
 |
Medium |
| 2375 |
Construct Smallest Number From DI String |
 |
Medium |
| 2379 |
Minimum Recolors to Get K Consecutive Black Blocks |
 |
Easy |
| 2381 |
Shifting Letters II |
 |
Medium |
| 2401 |
Longest Nice Subarray |
 |
Medium |
| 2402 |
Meeting Rooms III |
 |
Hard |
| 2409 |
Count Days Spent Together |
 |
Easy |
| 2410 |
Maximum Matching of Players With Trainers |
 |
Medium |
| 2411 |
Smallest Subarrays With Maximum Bitwise OR |
 |
Medium |
| 2415 |
Reverse Odd Levels of Binary Tree |
 |
Medium |
| 2419 |
Longest Subarray With Maximum Bitwise AND |
 |
Medium |
| 2425 |
Bitwise XOR of All Pairings |
 |
Medium |
| 2429 |
Minimize XOR |
 |
Medium |
| 2433 |
Find The Original Array of Prefix Xor |
 |
Medium |
| 2434 |
Using a Robot to Print the Lexicographically Smallest String |
 |
Medium |
| 2435 |
Paths in Matrix Whose Sum Is Divisible by K |
 |
Hard |
| 2438 |
Range Product Queries of Powers |
 |
Medium |
| 2441 |
Largest Positive Integer That Exists With Its Negative |
 |
Easy |
| 2444 |
Count Subarrays With Fixed Bounds |
 |
Hard |
| 2452 |
Words Within Two Edits of Dictionary |
 |
Medium |
| 2460 |
Apply Operations to an Array |
 |
Easy |
| 2463 |
Minimum Total Distance Traveled |
 |
Hard |
| 2464 |
Minimum Subarrays in a Valid Split |
 |
Medium |
| 2466 |
Count Ways To Build Good Strings |
 |
Medium |
| 2467 |
Most Profitable Path in a Tree |
 |
Medium |
| 2471 |
Minimum Number of Operations to Sort a Binary Tree by Level |
 |
Medium |
| 2472 |
Maximum Number of Non-overlapping Palindrome Substrings |
 |
Hard |
| 2483 |
Minimum Penalty for a Shop |
 |
Medium |
| 2485 |
Find the Pivot Integer |
 |
Easy |
| 2487 |
Remove Nodes From Linked List |
 |
Medium |
| 2488 |
Count Subarrays With Median K |
 |
Hard |
| 2492 |
Minimum Score of a Path Between Two Cities |
 |
Medium |
| 2493 |
Divide Nodes Into the Maximum Number of Groups |
 |
Hard |
| 2503 |
Maximum Number of Points From Grid Queries |
 |
Hard |
| 2508 |
Add Edges to Make Degrees of All Nodes Even |
 |
Hard |
| 2515 |
Shortest Distance to Target String in a Circular Array |
 |
Easy |
| 2523 |
Closest Prime Numbers in Range |
 |
Medium |
| 2528 |
Maximize the Minimum Powered City |
 |
Hard |
| 2529 |
Maximum Count of Positive Integer and Negative Integer |
 |
Easy |
| 2536 |
Increment Submatrices by One |
 |
Medium |
| 2537 |
Count the Number of Good Subarrays |
 |
Medium |
| 2540 |
Minimum Common Value |
 |
Easy |
| 2551 |
Put Marbles in Bags |
 |
Hard |
| 2553 |
Separate the Digits in an Array |
 |
Easy |
| 2554 |
Maximum Number of Integers to Choose From a Range I |
 |
Medium |
| 2558 |
Take Gifts From the Richest Pile |
 |
Easy |
| 2559 |
Count Vowel Strings in Ranges |
 |
Medium |
| 2560 |
House Robber IV |
 |
Medium |
| 2561 |
Rearranging Fruits |
 |
Hard |
| 2563 |
Count the Number of Fair Pairs |
 |
Medium |
| 2566 |
Maximum Difference by Remapping a Digit |
 |
Easy |
| 2567 |
Minimum Score by Changing Two Elements |
 |
Medium |
| 2570 |
Merge Two 2D Arrays by Summing Values |
 |
Easy |
| 2571 |
Minimum Operations to Reduce an Integer to 0 |
 |
Medium |
| 2573 |
Find the String with LCP |
 |
Hard |
| 2574 |
Left and Right Sum Differences |
 |
Easy |
| 2579 |
Count Total Number of Colored Cells |
 |
Medium |
| 2593 |
Find Score of an Array After Marking All Elements |
 |
Medium |
| 2594 |
Minimum Time to Repair Cars |
 |
Medium |
| 2598 |
Smallest Missing Non-negative Integer After Operations |
 |
Medium |
| 2615 |
Sum of Distances |
 |
Medium |
| 2616 |
Minimize the Maximum Difference of Pairs |
 |
Medium |
| 2642 |
Design Graph With Shortest Path Calculator |
 |
Hard |
| 2654 |
Minimum Number of Operations to Make All Array Elements Equal to 1 |
 |
Medium |
| 2657 |
Find the Prefix Common Array of Two Arrays |
 |
Medium |
| 2658 |
Maximum Number of Fish in a Grid |
 |
Medium |
| 2661 |
First Completely Painted Row or Column |
 |
Medium |
| 2672 |
Number of Adjacent Elements With the Same Color |
 |
Medium |
| 2683 |
Neighboring Bitwise XOR |
 |
Medium |
| 2685 |
Count the Number of Complete Components |
 |
Medium |
| 2698 |
Find the Punishment Number of an Integer |
 |
Medium |
| 2737 |
Find the Closest Marked Node |
 |
Medium |
| 2747 |
Count Zero Request Servers |
 |
Medium |
| 2749 |
Minimum Operations to Make the Integer Zero |
 |
Medium |
| 2751 |
Robot Collisions |
 |
Hard |
| 2762 |
Continuous Subarrays |
 |
Medium |
| 2770 |
Maximum Number of Jumps to Reach the Last Index |
 |
Medium |
| 2778 |
Sum of Squares of Special Elements |
 |
Easy |
| 2779 |
Maximum Beauty of an Array After Applying Operation |
 |
Medium |
| 2780 |
Minimum Index of a Valid Split |
 |
Medium |
| 2784 |
Check if Array is Good |
 |
Easy |
| 2785 |
Sort Vowels in a String |
 |
Medium |
| 2791 |
Count Paths That Can Form a Palindrome in a Tree |
 |
Hard |
| 2799 |
Count Complete Subarrays in an Array |
 |
Medium |
| 2812 |
Find the Safest Path in a Grid |
 |
Medium |
| 2816 |
Double a Number Represented as a Linked List |
 |
Medium |
| 2818 |
Apply Operations to Maximize Score |
 |
Medium |
| 2825 |
Make String a Subsequence Using Cyclic Increments |
 |
Medium |
| 2833 |
Furthest Point From Origin |
 |
Easy |
| 2839 |
Check if Strings Can be Made Equal With Operations I |
 |
Easy |
| 2840 |
Check if Strings Can be Made Equal With Operations II |
 |
Medium |
| 2843 |
Count Symmetric Integers |
 |
Easy |
| 2845 |
Count of Interesting Subarrays |
 |
Medium |
| 2858 |
Minimum Edge Reversals So Every Node Is Reachable |
 |
Hard |
| 2870 |
Minimum Number of Operations to Make Array Empty |
 |
Medium |
| 2872 |
Maximum Number of K-Divisible Components |
 |
Medium |
| 2873 |
Maximum Value of an Ordered Triplet I |
 |
Easy |
| 2874 |
Maximum Value of an Ordered Triplet II |
 |
Medium |
| 2894 |
Divisible and Non-divisible Sums Difference |
 |
Easy |
| 2897 |
Apply Operations on Array to Maximize Sum of Squares |
 |
Hard |
| 2900 |
Longest Unequal Adjacent Groups Subsequence I |
 |
Easy |
| 2901 |
Longest Unequal Adjacent Groups Subsequence II |
 |
Medium |
| 2904 |
Shortest and Lexicographically Smallest Beautiful String |
 |
Medium |
| 2906 |
Construct Product Matrix |
 |
Medium |
| 2911 |
Minimum Changes to Make K Semi-palindromes |
 |
Hard |
| 2913 |
Subarrays Distinct Element Sum of Squares I |
 |
Easy |
| 2914 |
Minimum Number of Changes to Make Binary String Beautiful |
 |
Medium |
| 2916 |
Subarrays Distinct Element Sum of Squares II |
 |
Hard |
| 2918 |
Minimum Equal Sum of Two Arrays After Replacing Zeros |
 |
Medium |
| 2927 |
Distribute Candies Among Children III |
 |
Hard |
| 2928 |
Distribute Candies Among Children I |
 |
Easy |
| 2929 |
Distribute Candies Among Children II |
 |
Medium |
| 2938 |
Separate Black and White Balls |
 |
Medium |
| 2940 |
Find Building Where Alice and Bob Can Meet |
 |
Hard |
| 2942 |
Find Words Containing Character |
 |
Easy |
| 2943 |
Maximize Area of Square Hole in Grid |
 |
Medium |
| 2946 |
Matrix Similarity After Cyclic Shifts |
 |
Easy |
| 2948 |
Make Lexicographically Smallest Array by Swapping Elements |
 |
Medium |
| 2958 |
Length of Longest Subarray With at Most K Frequency |
 |
Medium |
| 2962 |
Count Subarrays Where Max Element Appears at Least K Times |
 |
Medium |
| 2965 |
Find Missing and Repeated Values |
 |
Medium |
| 2966 |
Divide Array Into Arrays With Max Difference |
 |
Medium |
| 2975 |
Maximum Square Area by Removing Fences From a Field |
 |
Medium |
| 2976 |
Minimum Cost to Convert String I |
 |
Medium |
| 2977 |
Minimum Cost to Convert String II |
 |
Medium |
| 2981 |
Find Longest Special Substring That Occurs Thrice I |
 |
Medium |
| 2996 |
Smallest Missing Integer Greater Than Sequential Prefix Sum |
 |
Easy |
| 2997 |
Minimum Number of Operations to Make Array XOR Equal to K |
 |
Medium |
| 2999 |
Count the Number of Powerful Integers |
 |
Hard |
| 3000 |
Maximum Area of Longest Diagonal Rectangle |
 |
Easy |
| 3003 |
Maximize the Number of Partitions After Operations |
 |
Hard |
| 3005 |
Count Elements With Maximum Frequency |
 |
Easy |
| 3010 |
Divide an Array Into Subarrays With Minimum Cost I |
 |
Easy |
| 3013 |
Divide an Array Into Subarrays With Minimum Cost II |
 |
Hard |
| 3014 |
Minimum Number of Pushes to Type Word I |
 |
Easy |
| 3016 |
Minimum Number of Pushes to Type Word II |
 |
Medium |
| 3020 |
Find the Maximum Number of Elements in Subset |
 |
Medium |
| 3021 |
Alice and Bob Playing Flower Game |
 |
Medium |
| 3024 |
Type of Triangle |
 |
Easy |
| 3025 |
Find the Number of Ways to Place People I |
 |
Medium |
| 3027 |
Find the Number of Ways to Place People II |
 |
Medium |
| 3041 |
Maximize Consecutive Elements in an Array After Modification |
 |
Hard |
| 3042 |
Count Prefix and Suffix Pairs I |
 |
Easy |
| 3043 |
Find the Length of the Longest Common Prefix |
 |
Medium |
| 3047 |
Find the Largest Area of Square Inside Two Rectangles |
 |
Medium |
| 3066 |
Minimum Operations to Exceed Threshold Value II |
 |
Medium |
| 3068 |
Find the Maximum Sum of Node Values |
 |
Medium |
| 3069 |
Distribute Elements Into Two Arrays I |
 |
Easy |
| 3070 |
Count Submatrices with Top-Left Element and Sum Less Than k |
 |
Medium |
| 3074 |
Apple Redistribution into Boxes |
 |
Easy |
| 3075 |
Maximize Happiness of Selected Children |
 |
Medium |
| 3085 |
Minimum Deletions to Make String K-Special |
 |
Medium |
| 3090 |
Maximum Length Substring With Two Occurrences |
 |
Easy |
| 3093 |
Longest Common Suffix Queries |
 |
Hard |
| 3100 |
Water Bottles II |
 |
Medium |
| 3105 |
Longest Strictly Increasing or Strictly Decreasing Subarray |
 |
Easy |
| 3108 |
Minimum Cost Walk in Weighted Graph |
 |
Hard |
| 3114 |
Construct the Minimum Bitwise Array I |
 |
Easy |
| 3115 |
Maximum Prime Difference |
 |
Medium |
| 3116 |
Kth Smallest Amount With Single Denomination Combination |
 |
Hard |
| 3120 |
Count the Number of Special Characters I |
 |
Easy |
| 3121 |
Count the Number of Special Characters II |
 |
Medium |
| 3129 |
Find All Possible Stable Binary Arrays I |
 |
Medium |
| 3130 |
Find All Possible Stable Binary Arrays II |
 |
Hard |
| 3136 |
Valid Word |
 |
Easy |
| 3147 |
Taking Maximum Energy From the Mystic Dungeon |
 |
Medium |
| 3151 |
Special Array I |
 |
Easy |
| 3152 |
Special Array II |
 |
Medium |
| 3160 |
Find the Number of Distinct Colors Among the Balls |
 |
Medium |
| 3161 |
Block Placement Queries |
 |
Hard |
| 3169 |
Count Days Without Meetings |
 |
Medium |
| 3170 |
Lexicographically Minimum String After Removing Stars |
 |
Medium |
| 3174 |
Clear Digits |
 |
Easy |
| 3186 |
Maximum Total Damage With Spell Casting |
 |
Medium |
| 3190 |
Find Minimum Operations to Make All Elements Divisible by Three |
 |
Easy |
| 3191 |
Minimum Operations to Make Binary Array Elements Equal to One I |
 |
Medium |
| 3201 |
Find the Maximum Length of Valid Subsequence I |
 |
Medium |
| 3202 |
Find the Maximum Length of Valid Subsequence II |
 |
Medium |
| 3203 |
Find Minimum Diameter After Merging Two Trees |
 |
Hard |
| 3208 |
Alternating Groups II |
 |
Medium |
| 3212 |
Count Submatrices With Equal Frequency of X and Y |
 |
Medium |
| 3217 |
Delete Nodes From Linked List Present in Array |
 |
Medium |
| 3223 |
Minimum Length of String After Operations |
 |
Medium |
| 3225 |
Maximum Score From Grid Operations |
 |
Hard |
| 3227 |
Vowels Game in a String |
 |
Medium |
| 3228 |
Maximum Number of Operations to Move Ones to the End |
 |
Medium |
| 3234 |
Count the Number of Substrings With Dominant Ones |
 |
Medium |
| 3264 |
Final Array State After K Multiplication Operations I |
 |
Easy |
| 3272 |
Find the Count of Good Integers |
 |
Hard |
| 3286 |
Find a Safe Walk Through a Grid |
 |
Medium |
| 3296 |
Minimum Number of Seconds to Make Mountain Height Zero |
 |
Medium |
| 3300 |
Minimum Element After Replacement With Digit Sum |
 |
Easy |
| 3302 |
Find the Lexicographically Smallest Valid Sequence |
 |
Medium |
| 3304 |
Find the K-th Character in String Game I |
 |
Easy |
| 3306 |
Count of Substrings Containing Every Vowel and K Consonants II |
 |
Medium |
| 3307 |
Find the K-th Character in String Game II |
 |
Hard |
| 3310 |
Remove Methods From Project |
 |
Medium |
| 3312 |
Sorted GCD Pair Queries |
 |
Hard |
| 3315 |
Construct the Minimum Bitwise Array II |
 |
Medium |
| 3318 |
Find X-Sum of All K-Long Subarrays I |
 |
Easy |
| 3321 |
Find X-Sum of All K-Long Subarrays II |
 |
Hard |
| 3330 |
Find the Original Typed String I |
 |
Easy |
| 3331 |
Find Subtree Sizes After Changes |
 |
Medium |
| 3333 |
Find the Original Typed String II |
 |
Easy |
| 3335 |
Zero Array Transformation I |
 |
Medium |
| 3336 |
Find the Number of Subsequences With Equal GCD |
 |
Hard |
| 3337 |
Total Characters in String After Transformations II |
 |
Hard |
| 3341 |
Find Minimum Time to Reach Last Room I |
 |
Medium |
| 3342 |
Find Minimum Time to Reach Last Room II |
 |
Medium |
| 3343 |
Count Number of Balanced Permutations |
 |
Hard |
| 3345 |
Smallest Divisible Digit Product I |
 |
Easy |
| 3346 |
Maximum Frequency of an Element After Performing Operations I |
 |
Medium |
| 3347 |
Maximum Frequency of an Element After Performing Operations II |
 |
Medium |
| 3348 |
Smallest Divisible Digit Product II |
 |
Hard |
| 3349 |
Adjacent Increasing Subarrays Detection I |
 |
Easy |
| 3350 |
Adjacent Increasing Subarrays Detection II |
 |
Medium |
| 3354 |
Make Array Elements Equal to Zero |
 |
Easy |
| 3355 |
Total Characters in String After Transformations I |
 |
Medium |
| 3356 |
Zero Array Transformation II |
 |
Medium |
| 3359 |
Find Closest Node to Given Two Nodes |
 |
Medium |
| 3360 |
Stone Removal Game |
 |
Easy |
| 3362 |
Zero Array Transformation III |
 |
Medium |
| 3363 |
Find the Maximum Number of Fruits Collected |
 |
Hard |
| 3364 |
Minimum Positive Sum Subarray |
 |
Easy |
| 3370 |
Smallest Number With All Set Bits |
 |
Easy |
| 3372 |
Maximize the Number of Target Nodes After Connecting Trees I |
 |
Medium |
| 3373 |
Maximize the Number of Target Nodes After Connecting Trees II |
 |
Medium |
| 3375 |
Minimum Operations to Make Array Values Equal to K |
 |
Medium |
| 3379 |
Transformed Array |
 |
Easy |
| 3389 |
The Two Sneaky Numbers of Digitville |
 |
Easy |
| 3392 |
Count Subarrays of Length Three With a Condition |
 |
Easy |
| 3394 |
Check if Grid can be Cut into Sections |
 |
Medium |
| 3396 |
Minimum Number of Operations to Make Elements in Array Distinct |
 |
Easy |
| 3397 |
Maximum Number of Distinct Elements After Operations |
 |
Medium |
| 3403 |
Find the Lexicographically Largest String From the Box I |
 |
Medium |
| 3405 |
Count the Number of Arrays with K Matching Adjacent Elements |
 |
Hard |
| 3408 |
Design Task Manager |
 |
Medium |
| 3411 |
Maximum Subarray With Equal Products |
 |
Easy |
| 3414 |
Maximum Score of Non-overlapping Intervals |
 |
Hard |
| 3418 |
Maximum Amount of Money Robot Can Earn |
 |
Medium |
| 3420 |
Count Non-Decreasing Subarrays After K Operations |
 |
Hard |
| 3423 |
Maximum Difference Between Adjacent Elements in a Circular Array |
 |
Easy |
| 3432 |
Count Partitions with Even Sum Difference |
 |
Easy |
| 3433 |
Count Mentions Per User |
 |
Medium |
| 3439 |
Reschedule Meetings for Maximum Free Time I |
 |
Medium |
| 3440 |
Reschedule Meetings for Maximum Free Time II |
 |
Medium |
| 3442 |
Maximum Difference Between Even and Odd Frequency I |
 |
Easy |
| 3443 |
Maximum Manhattan Distance After K Changes |
 |
Medium |
| 3445 |
Maximum Difference Between Even and Odd Frequency II |
 |
Hard |
| 3446 |
Sort Matrix by Diagonals |
 |
Medium |
| 3453 |
Separate Squares I |
 |
Medium |
| 3454 |
Separate Squares II |
 |
Hard |
| 3459 |
Length of Longest V-Shaped Diagonal Segment |
 |
Hard |
| 3461 |
Check If Digits Are Equal in String After Operations I |
 |
Easy |
| 3464 |
Maximize the Distance Between Points on a Square |
 |
Hard |
| 3471 |
Find the Largest Almost Missing Integer |
 |
Easy |
| 3474 |
Lexicographically Smallest Generated String |
 |
Hard |
| 3477 |
Fruits Into Baskets II |
 |
Easy |
| 3479 |
Fruits Into Baskets III |
 |
Medium |
| 3480 |
Maximize Subarrays After Removing One Conflicting Pair |
 |
Hard |
| 3483 |
Unique 3-Digit Even Numbers |
 |
Easy |
| 3484 |
Design Spreadsheet |
 |
Medium |
| 3487 |
Maximum Unique Subarray Sum After Deletion |
 |
Easy |
| 3488 |
Closest Equal Element Queries |
 |
Medium |
| 3494 |
Find the Minimum Amount of Time to Brew Potions |
 |
Medium |
| 3495 |
Minimum Operations to Make Array Elements Zero |
 |
Hard |
| 3498 |
Reverse Degree of a String |
 |
Easy |
| 3499 |
Maximize Active Section with Trade I |
 |
Medium |
| 3501 |
Maximize Active Section with Trade II |
 |
Hard |
| 3505 |
Minimum Operations to Make Elements Within K Subarrays Equal |
 |
Hard |
| 3507 |
Minimum Pair Removal to Sort Array I |
 |
Easy |
| 3508 |
Implement Router |
 |
Medium |
| 3510 |
Minimum Pair Removal to Sort Array II |
 |
Hard |
| 3512 |
Minimum Operations to Make Array Sum Divisible by K |
 |
Easy |
| 3513 |
Number of Unique XOR Triplets I |
 |
Medium |
| 3514 |
Number of Unique XOR Triplets I |
 |
Medium |
| 3516 |
Find Closest Person |
 |
Easy |
| 3517 |
Smallest Palindromic Rearrangement I |
 |
Medium |
| 3518 |
Smallest Palindromic Rearrangement II |
 |
Hard |
| 3524 |
Find X Value of Array I |
 |
Medium |
| 3525 |
Find X Value of Array II |
 |
Hard |
| 3531 |
Count Covered Buildings |
 |
Medium |
| 3534 |
Path Existence Queries in a Graph II |
 |
Hard |
| 3536 |
Maximum Product of Two Digits |
 |
Easy |
| 3539 |
Find Sum of Array Product of Magical Sequences |
 |
Hard |
| 3541 |
Find Most Frequent Vowel and Consonant |
 |
Easy |
| 3542 |
Minimum Operations to Convert All Elements to Zero |
 |
Medium |
| 3546 |
Equal Sum Grid Partition I |
 |
Medium |
| 3548 |
Equal Sum Grid Partition II |
 |
Hard |
| 3550 |
Smallest Index With Digit Sum Equal to Index |
 |
Easy |
| 3551 |
Minimum Swaps to Sort by Digit Sum |
 |
Medium |
| 3558 |
Number of Ways to Assign Edge Weights I |
 |
Medium |
| 3559 |
Number of Ways to Assign Edge Weights II |
 |
Hard |
| 3562 |
Maximum Profit from Trading Stocks with Discounts |
 |
Hard |
| 3567 |
Minimum Absolute Difference in Sliding Submatrix |
 |
Medium |
| 3568 |
Minimum Moves to Clean the Classroom |
 |
Medium |
| 3573 |
Best Time to Buy and Sell Stock V |
 |
Medium |
| 3577 |
Count the Number of Computer Unlocking Permutations |
 |
Medium |
| 3578 |
Count Partitions With Max-Min Difference at Most K |
 |
Medium |
| 3583 |
Count Special Triplets |
 |
Medium |
| 3600 |
Maximize Spanning Tree Stability with Upgrades |
 |
Hard |
| 3606 |
Coupon Code Validator |
 |
Easy |
| 3607 |
Power Grid Maintenance |
 |
Medium |
| 3612 |
Process String with Special Operations I |
 |
Medium |
| 3614 |
Process String with Special Operations II |
 |
Hard |
| 3619 |
Count Islands With Total Value Divisible by K |
 |
Medium |
| 3620 |
Network Recovery Pathways |
 |
Hard |
| 3622 |
Check Divisibility by Digit Sum and Product |
 |
Easy |
| 3623 |
Count Number of Trapezoids I |
 |
Medium |
| 3625 |
Count Number of Trapezoids II |
 |
Medium |
| 3629 |
Minimum Jumps to Reach End via Prime Teleportation |
 |
Medium |
| 3633 |
Earliest Finish Time for Land and Water Rides I |
 |
Easy |
| 3634 |
Minimum Removals to Balance Array |
 |
Medium |
| 3635 |
Earliest Finish Time for Land and Water Rides II |
 |
Medium |
| 3637 |
Trionic Array I |
 |
Easy |
| 3640 |
Trionic Array II |
 |
Hard |
| 3643 |
Flip Square Submatrix Vertically |
 |
Easy |
| 3644 |
Maximum K to Sort a Permutation |
 |
Medium |
| 3650 |
Minimum Cost Path with Edge Reversals |
 |
Medium |
| 3651 |
Minimum Cost Path with Teleportations |
 |
Hard |
| 3652 |
Best Time to Buy and Sell Stock using Strategy |
 |
Medium |
| 3653 |
XOR After Range Multiplication Queries I |
 |
Medium |
| 3655 |
XOR After Range Multiplication Queries II |
 |
Hard |
| 3658 |
GCD of Odd and Even Sums |
 |
Easy |
| 3660 |
Jump Game IX |
 |
Medium |
| 3661 |
Maximum Walls Destroyed by Robots |
 |
Hard |
| 3665 |
Twisted Mirror Path Count |
 |
Medium |
| 3666 |
Minimum Operations to Equalize Binary String |
 |
Hard |
| 3689 |
Maximum Total Subarray Value I |
 |
Medium |
| 3691 |
Maximum Total Subarray Value II |
 |
Hard |
| 3693 |
Climbing Stairs II |
 |
Medium |
| 3699 |
Number of ZigZag Arrays I |
 |
Hard |
| 3700 |
Number of ZigZag Arrays II |
 |
Hard |
| 3702 |
Longest Subsequence With Non-Zero Bitwise XOR |
 |
Medium |
| 3713 |
Longest Balanced Substring I |
 |
Medium |
| 3714 |
Longest Balanced Substring II |
 |
Medium |
| 3718 |
Smallest Missing Multiple of K |
 |
Easy |
| 3719 |
Longest Balanced Subarray I |
 |
Medium |
| 3720 |
Lexicographically Smallest Permutation Greater Than Target |
 |
Medium |
| 3721 |
Longest Balanced Subarray II |
 |
Medium |
| 3723 |
Maximize Sum of Squares of Digits |
 |
Medium |
| 3727 |
Maximum Alternating Sum of Squares |
 |
Medium |
| 3731 |
Find Missing Elements |
 |
Easy |
| 3732 |
Path Existence Queries in a Graph I |
 |
Medium |
| 3734 |
Lexicographically Smallest Palindromic Permutation Greater Than Target |
 |
Hard |
| 3736 |
Minimum Moves to Equal Array Elements III |
 |
Easy |
| 3737 |
Count Subarrays With Majority Element I |
 |
Medium |
| 3739 |
Count Subarrays With Majority Element II |
 |
Medium |
| 3740 |
Minimum Distance Between Three Equal Elements I |
 |
Easy |
| 3741 |
Minimum Distance Between Three Equal Elements II |
 |
Medium |
| 3742 |
Maximum Path Score in a Grid |
 |
Medium |
| 3751 |
Total Waviness of Numbers in Range I |
 |
Medium |
| 3753 |
Total Waviness of Numbers in Range II |
 |
Hard |
| 3754 |
Concatenate Non-Zero Digits and Multiply by Sum I |
 |
Easy |
| 3756 |
Concatenate Non-Zero Digits and Multiply by Sum II |
 |
Medium |
| 3761 |
Minimum Absolute Distance Between Mirror Pairs |
 |
Medium |
| 3783 |
Mirror Distance of an Integer |
 |
Easy |
| 3789 |
Minimum Cost to Acquire Required Items |
 |
Medium |
| 3815 |
Design Auction System |
 |
Medium |
| 3838 |
Weighted Word Mapping |
 |
Easy |
| 3841 |
Palindromic Path Queries in a Tree |
 |
Hard |
| 3863 |
Minimum Operations to Sort a String |
 |
Medium |
| 3867 |
Sum of GCD of Formed Pairs |
 |
Medium |
| 3870 |
Count Commas in Range |
 |
Easy |
| 3871 |
Count Commas in Range II |
 |
Medium |
| 3875 |
Construct Uniform Parity Array I |
 |
Easy |
| 3876 |
Construct Uniform Parity Array II |
 |
Medium |
| 3881 |
Maximum Subarray Sum With Length Divisible by K |
 |
Medium |
| 3882 |
Minimum XOR Path in a Grid |
 |
Medium |
| 3886 |
Sum of Sortable Integers |
 |
Hard |
| 3903 |
Smallest Stable Index I |
 |
Easy |
| 3904 |
Smallest Stable Index II |
 |
Medium |
| 3934 |
Smallest Unique Subarray |
 |
Hard |
| 3942 |
Minimum Operations to Sort a Permutation |
 |
Medium |
| 3946 |
Maximum Number of Items From Sale I |
 |
Medium |
| 3947 |
Maximum Number of Items From Sale II |
 |
Medium |
| 3963 |
Create Grid With Exactly One Path |
 |
Easy |
| 3970 |
Shortest Path With At Most K Consecutive Identical Characters |
 |
Medium |