Skip to content

shahzodshafizod/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

599 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Badge

#### Title Difficulty Tags Date Solutions
0381 Insert Delete GetRandom O(1) - Duplicates allowed Hard Array, Hash Table, Math, Design, Randomized 2025-12-31 Go Python
0363 Max Sum of Rectangle No Larger Than K Hard Array, Binary Search, Matrix, Prefix Sum, Ordered Set 2025-12-31 Go Python
0771 Jewels and Stones Easy Hash Table, String 2025-12-30 Go Python
0420 Strong Password Checker Hard String, Greedy, Heap (Priority Queue) 2025-12-30 Go Python
0766 Toeplitz Matrix Easy Array, Matrix 2025-12-29 Go Python
0336 Palindrome Pairs Hard Array, Hash Table, String, Trie 2025-12-29 Go Python
0762 Prime Number of Set Bits in Binary Representation Easy Math, Bit Manipulation 2025-12-28 Go Python
0335 Self Crossing Hard Array, Math, Geometry 2025-12-28 Go Python
1351 Count Negative Numbers in a Sorted Matrix Easy Array, Binary Search, Matrix 2025-12-28 Go Python
0327 Count of Range Sum Hard Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set 2025-12-28 Go Python
0748 Shortest Completing Word Easy Array, Hash Table, String 2025-12-27 Go Python
0321 Create Maximum Number Hard Array, Two Pointers, Stack, Greedy, Monotonic Stack 2025-12-27 Go Python
0747 Largest Number At Least Twice of Others Easy Array, Sorting 2025-12-27 Go Python
0301 Remove Invalid Parentheses Hard String, Backtracking, Breadth-First Search 2025-12-27 Go Python
0744 Find Smallest Letter Greater Than Target Easy Array, Binary Search 2025-12-26 Go Python
0282 Expression Add Operators Hard Math, String, Backtracking 2025-12-26 Go Python
0728 Self Dividing Numbers Easy Math 2025-12-25 Go Python
0233 Number of Digit One Hard Math, Dynamic Programming, Recursion 2025-12-25 Go Python
3074 Apple Redistribution into Boxes Easy Array, Greedy, Sorting 2025-12-24 Go Python
0218 The Skyline Problem Hard Array, Divide and Conquer, Binary Indexed Tree, Segment Tree, Line Sweep, Sorting, Heap (Priority Queue), Ordered Set 2025-12-24 Go Python
0709 To Lower Case Easy String 2025-12-23 Go Python
0154 Find Minimum in Rotated Sorted Array II Hard Array, Binary Search 2025-12-23 Go Python
0697 Degree of an Array Easy Array, Hash Table 2025-12-22 Go Python
0960 Delete Columns to Make Sorted III Hard Array, String, Dynamic Programming 2025-12-22 Go Python
0696 Count Binary Substrings Easy Two Pointers, String 2025-12-21 Go Python
0065 Valid Number Hard String 2025-12-21 Go Python
0693 Binary Number with Alternating Bits Easy Bit Manipulation 2025-12-21 Go Python
0044 Wildcard Matching Hard String, Dynamic Programming, Greedy, Recursion 2025-12-21 Go Python
0944 Delete Columns to Make Sorted Easy Array, String 2025-12-20 Go Python
0132 Palindrome Partitioning II Hard String, Dynamic Programming 2025-12-20 Go Python
0682 Baseball Game Easy Array, Stack, Simulation 2025-12-20 Go Python
1377 Frog Position After T Seconds Hard Tree, Depth-First Search, Breadth-First Search, Graph 2025-12-20 Go Python
0674 Longest Continuous Increasing Subsequence Easy Array 2025-12-19 Go Python
2509 Cycle Length Queries in a Tree Hard Array, Tree, Binary Tree 2025-12-19 Go Python
0671 Second Minimum Node In a Binary Tree Easy Tree, Depth-First Search, Binary Tree 2025-12-18 Go Python
0847 Shortest Path Visiting All Nodes Hard Dynamic Programming, Bit Manipulation, Breadth-First Search, Graph, Bitmask 2025-12-18 Go Python
0661 Image Smoother Easy Array, Matrix 2025-12-17 Go Python
1203 Sort Items by Groups Respecting Dependencies Hard Depth-First Search, Breadth-First Search, Graph, Topological Sort 2025-12-17 Go Python
0653 Two Sum IV - Input is a BST Easy Hash Table, Two Pointers, Tree, Depth-First Search, Breadth-First Search, Binary Search Tree, Binary Tree 2025-12-16 Go Python
3562 Maximum Profit from Trading Stocks with Discounts Hard Array, Dynamic Programming, Tree, Depth-First Search 2025-12-16 Go Python
0645 Set Mismatch Easy Array, Hash Table, Bit Manipulation, Sorting 2025-12-15 Go Python
0753 Cracking the Safe Hard Depth-First Search, Graph, Eulerian Circuit 2025-12-15 Go Python
2242 Maximum Score of a Node Sequence Hard Array, Graph, Sorting, Enumeration 2025-12-14 Go Python
0637 Average of Levels in Binary Tree Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2025-12-14 Go Python
0087 Scramble String Hard String, Dynamic Programming 2025-12-14 Go Python
0628 Maximum Product of Three Numbers Easy Array, Math, Sorting 2025-12-14 Go Python
1928 Minimum Cost to Reach Destination in Time Hard Array, Dynamic Programming, Graph 2025-12-13 Go Python
3606 Coupon Code Validator Easy Array, Hash Table, String, Sorting 2025-12-13 Go Python
1697 Checking Existence of Edge Length Limited Paths Hard Array, Two Pointers, Union Find, Graph, Sorting 2025-12-13 Go Python
0599 Minimum Index Sum of Two Lists Easy Array, Hash Table, String 2025-12-13 Go Python
1761 Minimum Degree of a Connected Trio in a Graph Hard Graph, Enumeration 2025-12-12 Go Python
0598 Range Addition II Easy Array, Math 2025-12-12 Go Python
2035 Partition Array Into Two Arrays to Minimize Sum Difference Hard Array, Two Pointers, Binary Search, Dynamic Programming, Bit Manipulation, Ordered Set, Bitmask 2025-12-11 Go Python
0575 Distribute Candies Easy Array, Hash Table 2025-12-11 Go Python
2111 Minimum Operations to Make the Array K-Increasing Hard Array, Binary Search 2025-12-10 Go Python
0566 Reshape the Matrix Easy Array, Matrix, Simulation 2025-12-10 Go Python
0828 Count Unique Characters of All Substrings of a Given String Hard Hash Table, String, Dynamic Programming 2025-12-09 Go Python
0563 Binary Tree Tilt Easy Tree, Depth-First Search, Binary Tree 2025-12-09 Go Python
0354 Russian Doll Envelopes Hard Array, Binary Search, Dynamic Programming, Sorting 2025-12-08 Go Python
1925 Count Square Sum Triples Easy Math, Enumeration 2025-12-08 Go Python
1192 Critical Connections in a Network Hard Depth-First Search, Graph, Biconnected Component 2025-12-07 Go Python
0188 Best Time to Buy and Sell Stock IV Hard Array, Dynamic Programming 2025-12-07 Go Python
0530 Minimum Absolute Difference in BST Easy Tree, Depth-First Search, Breadth-First Search, Binary Search Tree, Binary Tree 2025-12-07 Go Python
0521 Longest Uncommon Subsequence I Easy String 2025-12-07 Go Python
0987 Vertical Order Traversal of a Binary Tree Hard Hash Table, Tree, Depth-First Search, Breadth-First Search, Sorting, Binary Tree 2025-12-06 Go Python
1044 Longest Duplicate Substring Hard String, Binary Search, Sliding Window, Rolling Hash, Suffix Array, Hash Function 2025-12-06 Go Python
0507 Perfect Number Easy Math 2025-12-06 Go Python
0504 Base 7 Easy Math, String 2025-12-06 Go Python
3448 Count Substrings Divisible By Last Digit Hard String, Dynamic Programming 2025-12-05 Go Python
3432 Count Partitions with Even Sum Difference Easy Array, Math, Prefix Sum 2025-12-05 Go Python
3017 Count the Number of Houses at a Certain Distance II Hard Graph, Prefix Sum 2025-12-04 Go Python
0405 Convert a Number to Hexadecimal Easy Math, String, Bit Manipulation 2025-12-04 Go Python
0501 Find Mode in Binary Search Tree Easy Tree, Depth-First Search, Binary Search Tree, Binary Tree 2025-12-03 Go Python
3625 Count Number of Trapezoids II Hard Array, Hash Table, Math, Geometry 2025-12-03 Go Python
2569 Handling Sum Queries After Update Hard Array, Segment Tree 2025-12-02 Go Python
0401 Binary Watch Easy Backtracking, Bit Manipulation 2025-12-02 Go Python
0495 Teemo Attacking Easy Array, Simulation 2025-12-01 Go Python
2141 Maximum Running Time of N Computers Hard Array, Binary Search, Greedy, Sorting 2025-12-01 Go Python
0561 Array Partition Easy Array, Greedy, Sorting, Counting Sort 2025-11-30 Go Python
3463 Check If Digits Are Equal in String After Operations II Hard Math, String, Combinatorics, Number Theory 2025-11-30 Go Python
3036 Number of Subarrays That Match a Pattern II Hard Array, Rolling Hash, String Matching, Hash Function 2025-11-30 Go Python
0345 Reverse Vowels of a String Easy Two Pointers, String 2025-11-30 Go Python
0559 Maximum Depth of N-ary Tree Easy Tree, Depth-First Search, Breadth-First Search 2025-11-29 Go Python
3455 Shortest Matching Substring Hard Two Pointers, String, Binary Search, String Matching 2025-11-29 Go Python
3031 Minimum Time to Revert Word to Initial State II Hard String, Rolling Hash, String Matching, Hash Function 2025-11-29 Go Python
3512 Minimum Operations to Make Array Sum Divisible by K Easy Array, Math 2025-11-29 Go Python
3378 Count Connected Components in LCM Graph Hard Array, Hash Table, Math, Union Find, Number Theory 2025-11-28 Go Python
0485 Max Consecutive Ones Easy Array 2025-11-28 Go Python
3139 Minimum Cost to Equalize Array Hard Array, Greedy, Enumeration 2025-11-27 Go Python
0455 Assign Cookies Easy Array, Two Pointers, Greedy, Sorting 2025-11-27 Go Python
3116 Kth Smallest Amount With Single Denomination Combination Hard Array, Math, Binary Search, Bit Manipulation, Combinatorics, Number Theory 2025-11-26 Go Python
0263 Ugly Number Easy Math 2025-11-26 Go Python
3117 Minimum Sum of Values by Dividing Array Hard Array, Binary Search, Dynamic Programming, Bit Manipulation, Segment Tree, Queue 2025-11-25 Go Python
0228 Summary Ranges Easy Array 2025-11-25 Go Python
3102 Minimize Manhattan Distances Hard Array, Math, Geometry, Sorting, Ordered Set 2025-11-24 Go Python
1018 Binary Prefix Divisible By 5 Easy Array, Bit Manipulation 2025-11-24 Go Python
0492 Construct the Rectangle Easy Math 2025-11-23 Go Python
3082 Find the Sum of the Power of All Subsequences Hard Array, Dynamic Programming 2025-11-23 Go Python
3077 Maximum Strength of K Disjoint Subarrays Hard Array, Dynamic Programming, Prefix Sum 2025-11-23 Go Python
0226 Invert Binary Tree Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2025-11-23 Go Python
0448 Find All Numbers Disappeared in an Array Easy Array, Hash Table 2025-11-22 Go Python
1569 Number of Ways to Reorder Array to Get Same BST Hard Array, Math, Divide and Conquer, Dynamic Programming, Tree, Union Find, Binary Search Tree, Memoization, Combinatorics, Binary Tree 2025-11-22 Go Python
3209 Number of Subarrays With AND Value of K Hard Array, Binary Search, Bit Manipulation, Segment Tree 2025-11-22 Go Python
3190 Find Minimum Operations to Make All Elements Divisible by Three Easy Array, Math 2025-11-22 Go Python
3181 Maximum Total Reward Using Operations II Hard Array, Dynamic Programming, Bit Manipulation 2025-11-21 Go Python
0441 Arranging Coins Easy Math, Binary Search 2025-11-21 Go Python
0415 Add Strings Easy Math, String, Simulation 2025-11-20 Go Python
0757 Set Intersection Size At Least Two Hard Array, Greedy, Sorting 2025-11-20 Go Python
0864 Shortest Path to Get All Keys Hard Array, Bit Manipulation, Breadth-First Search, Matrix 2025-11-19 Go Python
2154 Keep Multiplying Found Values by Two Easy Array, Hash Table, Sorting, Simulation 2025-11-19 Go Python
3444 Minimum Increments for Target Multiples in an Array Hard Array, Math, Dynamic Programming, Bit Manipulation, Number Theory, Bitmask 2025-11-18 Go Python
0717 1-bit and 2-bit Characters Easy Array 2025-11-18 Go Python
3398 Smallest Substring With Identical Characters I Hard Array, Binary Search, Enumeration 2025-11-17 Go Python
1437 Check If All 1's Are at Least Length K Places Away Easy Array 2025-11-17 Go Python
0414 Third Maximum Number Easy Array, Sorting 2025-11-16 Go Python
3399 Smallest Substring With Identical Characters II Hard Binary Search, Greedy, String 2025-11-16 Go Python
0292 Nim Game Easy Math, Brainteaser, Game Theory 2025-11-16 Go Python
3171 Find Subarray With Bitwise OR Closest to K Hard Array, Binary Search, Bit Manipulation, Segment Tree 2025-11-16 Go Python
0202 Happy Number Easy Hash Table, Math, Two Pointers 2025-11-15 Go Python
3008 Find Beautiful Indices in the Given Array II Hard Two Pointers, String, Binary Search, Rolling Hash, String Matching, Hash Function 2025-11-15 Go Python
0171 Excel Sheet Column Number Easy Math, String 2025-11-15 Go Python
1575 Count All Possible Routes Hard Array, Dynamic Programming, Memoization 2025-11-15 Go Python
0169 Majority Element Easy Array, Hash Table, Divide and Conquer, Sorting, Counting 2025-11-14 Go Python
1187 Make Array Strictly Increasing Hard Array, Binary Search, Dynamic Programming, Sorting 2025-11-14 Go Python
0956 Tallest Billboard Hard Array, Dynamic Programming 2025-11-13 Go Python
0168 Excel Sheet Column Title Easy Math, String 2025-11-13 Go Python
0160 Intersection of Two Linked Lists Easy Hash Table, Linked List, Two Pointers 2025-11-12 Go Python
3229 Minimum Operations to Make Array Equal to Target Hard Array, Dynamic Programming, Stack, Greedy, Monotonic Stack 2025-11-12 Go Python
0144 Binary Tree Preorder Traversal Easy Stack, Tree, Depth-First Search, Binary Tree 2025-11-11 Go Python
3219 Minimum Cost for Cutting Cake II Hard Array, Greedy, Sorting 2025-11-11 Go Python
0119 Pascal's Triangle II Easy Array, Dynamic Programming 2025-11-10 Go Python
2589 Minimum Time to Complete All Tasks Hard Array, Binary Search, Stack, Greedy, Sorting 2025-11-10 Go Python
2169 Count Operations to Obtain Zero Easy Math, Simulation 2025-11-09 Go Python
0110 Balanced Binary Tree Easy Tree, Depth-First Search, Binary Tree 2025-11-08 Go Python
2528 Maximize the Minimum Powered City Hard Array, Binary Search, Greedy, Queue, Sliding Window, Prefix Sum 2025-11-07 Go Python
2366 Minimum Replacements to Sort the Array Hard Array, Math, Greedy 2025-11-06 Go Python
3321 Find X-Sum of All K-Long Subarrays II Hard Array, Hash Table, Sliding Window, Heap (Priority Queue) 2025-11-05 Go Python
3318 Find X-Sum of All K-Long Subarrays I Easy Array, Hash Table, Sliding Window, Heap (Priority Queue) 2025-11-04 Go Python
1578 Minimum Time to Make Rope Colorful Medium Array, String, Dynamic Programming, Greedy 2025-11-03 Go Python
1402 Reducing Dishes Hard Array, Dynamic Programming, Greedy, Sorting 2025-11-02 Go Python
1326 Minimum Number of Taps to Open to Water a Garden Hard Array, Dynamic Programming, Greedy 2025-11-01 Go Python
3289 The Two Sneaky Numbers of Digitville Easy Array, Hash Table, Math 2025-10-31 Go Python
1526 Minimum Number of Increments on Subarrays to Form a Target Array Hard Array, Dynamic Programming, Stack, Greedy, Monotonic Stack 2025-10-30 Go Python
3370 Smallest Number With All Set Bits Easy Math, Bit Manipulation 2025-10-29 Go Python
3354 Make Array Elements Equal to Zero Easy Array, Simulation, Prefix Sum 2025-10-28 Go Python
3367 Maximize Sum of Weights after Edge Removals Hard Dynamic Programming, Tree, Depth-First Search 2025-10-27 Go Python
3425 Longest Special Path Hard Array, Hash Table, Tree, Depth-First Search, Prefix Sum 2025-10-26 Go Python
1716 Calculate Money in Leetcode Bank Easy Math 2025-10-25 Go Python
3351 Sum of Good Subsequences Hard Array, Hash Table, Dynamic Programming 2025-10-25 Go Python
3352 Count K-Reducible Numbers Less Than N Hard Math, String, Dynamic Programming, Combinatorics 2025-10-24 Go Python
3461 Check If Digits Are Equal in String After Operations I Easy Math, String, Simulation, Combinatorics, Number Theory 2025-10-23 Go Python
3347 Maximum Frequency of an Element After Performing Operations II Hard Array, Binary Search, Sliding Window, Sorting, Prefix Sum 2025-10-22 Go Python
3213 Construct String with Minimum Cost Hard Array, String, Dynamic Programming, Suffix Array 2025-10-21 Go Python
3193 Count the Number of Inversions Hard Array, Dynamic Programming 2025-10-20 Go Python
2011 Final Value of Variable After Performing Operations Easy Array, String, Simulation 2025-10-20 Go Python
3177 Find the Maximum Length of a Good Subsequence II Hard Array, Hash Table, Dynamic Programming 2025-10-19 Go Python
3130 Find All Possible Stable Binary Arrays II Hard Dynamic Programming, Prefix Sum 2025-10-18 Go Python
3003 Maximize the Number of Partitions After Operations Hard String, Dynamic Programming, Bit Manipulation, Bitmask 2025-10-17 Go Python
3098 Find the Sum of Subsequence Powers Hard Array, Dynamic Programming, Sorting 2025-10-16 Go Python
3041 Maximize Consecutive Elements in an Array After Modification Hard Array, Dynamic Programming, Sorting 2025-10-15 Go Python
1312 Minimum Insertion Steps to Make a String Palindrome Hard String, Dynamic Programming 2025-10-14 Go Python
3349 Adjacent Increasing Subarrays Detection I Easy Array 2025-10-14 Go Python
0403 Frog Jump Hard Array 2025-10-13 Go Python
2273 Find Resultant Array After Removing Anagrams Easy Array, Hash Table, String, Sorting 2025-10-13 Go Python
3539 Find Sum of Array Product of Magical Sequences Hard Array, Math, Dynamic Programming, Bit Manipulation, Combinatorics, Bitmask 2025-10-12 Go Python
1416 Restore The Array Hard String, Dynamic Programming 2025-10-11 Go Python
1444 Number of Ways of Cutting a Pizza Hard Array, Dynamic Programming, Memoization, Matrix, Prefix Sum 2025-10-10 Go Python
1125 Smallest Sufficient Team Hard Array, Dynamic Programming, Bit Manipulation, Bitmask 2025-10-09 Go Python
3123 Find Edges in Shortest Paths Hard Depth-First Search, Breadth-First Search, Graph, Heap (Priority Queue), Shortest Path 2025-10-08 Go Python
2642 Design Graph With Shortest Path Calculator Hard Graph, Design, Heap (Priority Queue), Shortest Path 2025-10-07 Go Python
2360 Longest Cycle in a Graph Hard Depth-First Search, Breadth-First Search, Graph, Topological Sort 2025-10-06 Go Python
1293 Shortest Path in a Grid with Obstacles Elimination Hard Array, Breadth-First Search, Matrix 2025-10-05 Go Python
0839 Similar String Groups Hard Array, Hash Table, String, Depth-First Search, Breadth-First Search, Union Find 2025-10-04 Go Python
0815 Bus Routes Hard Array, Hash Table, Breadth-First Search 2025-10-03 Go Python
1970 Last Day Where You Can Still Cross Hard Array, Binary Search, Depth-First Search, Breadth-First Search, Union Find, Matrix 2025-10-02 Go Python
3187 Peaks in Array Hard Array, Binary Indexed Tree, Segment Tree 2025-10-01 Go Python
2221 Find Triangular Sum of an Array Medium Array, Math, Simulation, Combinatorics 2025-09-30 Go Python
1039 Minimum Score Triangulation of Polygon Medium Array, Dynamic Programming 2025-09-29 Go Python
0976 Largest Perimeter Triangle Easy Array, Math, Greedy, Sorting 2025-09-28 Go Python
0812 Largest Triangle Area Easy Array, Math, Geometry 2025-09-27 Go Python
0611 Valid Triangle Number Medium Array, Two Pointers, Binary Search, Greedy, Sorting 2025-09-26 Go Python
0120 Triangle Medium Array, Dynamic Programming 2025-09-25 Go Python
0166 Fraction to Recurring Decimal Medium Hash Table, Math, String 2025-09-24 Go Python
0088 Merge Sorted Array Easy Array, Two Pointers, Sorting 2025-09-23 Go Python
3005 Count Elements With Maximum Frequency Easy Array, Hash Table, Counting 2025-09-22 Go Python
1912 Design Movie Rental System Hard Array, Hash Table, Design, Heap (Priority Queue), Ordered Set 2025-09-21 Go Python
3508 Implement Router Medium Array, Hash Table, Binary Search, Design, Queue, Ordered Set 2025-09-20 Go Python
3484 Design Spreadsheet Medium Array, Hash Table, String, Design, Matrix 2025-09-19 Go Python
3408 Design Task Manager Medium Hash Table, Design, Heap (Priority Queue), Ordered Set 2025-09-18 Go Python
2353 Design a Food Rating System Medium Array, Hash Table, String, Design, Heap (Priority Queue), Ordered Set 2025-09-17 Go Python
2197 Replace Non-Coprime Numbers in Array Hard Array, Math, Stack, Number Theory 2025-09-16 Go Python
1935 Maximum Number of Words You Can Type Easy Hash Table, String 2025-09-15 Go Python
0966 Vowel Spellchecker Medium Array, Hash Table, String 2025-09-14 Go Python
3541 Find Most Frequent Vowel and Consonant Easy Hash Table, String, Counting 2025-09-13 Go Python
3227 Vowels Game in a String Medium Math, String, Brainteaser, Game Theory 2025-09-12 Go Python
2785 Sort Vowels in a String Medium String, Sorting 2025-09-11 Go Python
1733 Minimum Number of People to Teach Medium Array, Hash Table, Greedy 2025-09-10 Go Python
2327 Number of People Aware of a Secret Medium Dynamic Programming, Queue, Simulation 2025-09-09 Go Python
1317 Convert Integer to the Sum of Two No-Zero Integers Easy Math 2025-09-08 Go Python
1304 Find N Unique Integers Sum up to Zero Easy Array, Math 2025-09-07 Go Python
3495 Minimum Operations to Make Array Elements Zero Hard Array, Math, Bit Manipulation 2025-09-06 Go Python
2749 Minimum Operations to Make the Integer Zero Medium Bit Manipulation, Brainteaser, Enumeration 2025-09-05 Go Python
3516 Find Closest Person Easy Math 2025-09-04 Go Python
3027 Find the Number of Ways to Place People II Hard Array, Math, Geometry, Sorting, Enumeration 2025-09-03 Go Python
3025 Find the Number of Ways to Place People I Medium Array, Math, Geometry, Sorting, Enumeration 2025-09-02 Go Python
1792 Maximum Average Pass Ratio Medium Array, Greedy, Heap (Priority Queue) 2025-09-01 Go Python
3161 Block Placement Queries Hard Array, Binary Search, Binary Indexed Tree, Segment Tree 2025-08-31 Go Python
0036 Valid Sudoku Medium Array, Hash Table, Matrix 2025-08-30 Go Python
3021 Alice and Bob Playing Flower Game Medium Math 2025-08-29 Go Python
3072 Distribute Elements Into Two Arrays II Hard Array, Binary Indexed Tree, Segment Tree, Simulation 2025-08-28 Go Python
3446 Sort Matrix by Diagonals Medium Array, Sorting, Matrix 2025-08-28 Go Python
3459 Length of Longest V-Shaped Diagonal Segment Hard Array, Dynamic Programming, Memoization, Matrix 2025-08-27 Go Python
3000 Maximum Area of Longest Diagonal Rectangle Easy Array 2025-08-26 Go Python
0498 Diagonal Traverse Medium Array, Matrix, Simulation 2025-08-25 Go Python
1493 Longest Subarray of 1's After Deleting One Element Medium Array, Dynamic Programming, Sliding Window 2025-08-24 Go Python
3197 Find the Minimum Area to Cover All Ones II Hard Array, Matrix, Enumeration 2025-08-23 Go Python
3195 Find the Minimum Area to Cover All Ones I Medium Array, Matrix 2025-08-22 Go Python
1504 Count Submatrices With All Ones Medium Array, Dynamic Programming, Stack, Matrix, Monotonic Stack 2025-08-21 Go Python
1277 Count Square Submatrices with All Ones Medium Array, Dynamic Programming, Matrix 2025-08-20 Go Python
2348 Number of Zero-Filled Subarrays Medium Array, Math 2025-08-19 Go Python
0679 24 Game Hard Array, Math, Backtracking 2025-08-18 Go Python
0837 New 21 Game Medium Math, Dynamic Programming, Sliding Window, Probability and Statistics 2025-08-17 Go Python
1323 Maximum 69 Number Easy Math, Greedy 2025-08-16 Go Python
2532 Time to Cross a Bridge Hard Array, Heap (Priority Queue), Simulation 2025-08-15 Go Python
2264 Largest 3-Same-Digit Number in String Easy String 2025-08-14 Go Python
0326 Power of Three Easy Math, Recursion 2025-08-13 Go Python
2787 Ways to Express an Integer as Sum of Powers Medium Dynamic Programming 2025-08-12 Go Python
2438 Range Product Queries of Powers Medium Array, Bit Manipulation, Prefix Sum 2025-08-11 Go Python
0869 Reordered Power of 2 Medium Hash Table, Math, Sorting, Counting, Enumeration 2025-08-10 Go Python
2867 Count Valid Paths in a Tree Hard Math, Dynamic Programming, Tree, Depth-First Search, Number Theory 2025-08-09 Go Python
0808 Soup Servings Medium Math, Dynamic Programming, Probability and Statistics 2025-08-08 Go Python
3363 Find the Maximum Number of Fruits Collected Hard Array, Dynamic Programming, Matrix 2025-08-07 Go Python
3479 Fruits Into Baskets III Medium Array, Binary Search, Segment Tree, Ordered Set 2025-08-06 Go Python
3477 Fruits Into Baskets II Easy Array, Binary Search, Segment Tree, Simulation, Ordered Set 2025-08-05 Go Python
2508 Add Edges to Make Degrees of All Nodes Even Hard Hash Table, Graph 2025-08-05 Go Python
0904 Fruit Into Baskets Medium Array, Hash Table, Sliding Window 2025-08-04 Go Python
0083 Remove Duplicates from Sorted List Easy Linked List 2025-08-03 Go Python
2561 Rearranging Fruits Hard Array, Hash Table, Greedy, Sort 2025-08-02 Go Python
2065 Maximum Path Quality of a Graph Hard Array, Backtracking, Graph 2025-08-01 Go Python
0898 Bitwise ORs of Subarrays Medium Array, Dynamic Programming, Bit Manipulation 2025-07-31 Go Python
2419 Longest Subarray With Maximum Bitwise AND Medium Array, Bit Manipulation, Brainteaser 2025-07-30 Go Python
2411 Smallest Subarrays With Maximum Bitwise OR Medium Array, Binary Search, Bit Manipulation, Sliding Window 2025-07-29 Go Python
2044 Count Number of Maximum Bitwise-OR Subsets Medium Array, Backtracking, Bit Manipulation, Enumeration 2025-07-28 Go Python
2210 Count Hills and Valleys in an Array Easy Array 2025-07-27 Go Python
3480 Maximize Subarrays After Removing One Conflicting Pair Hard Array, Segment Tree, Enumeration, Prefix Sum 2025-07-26 Go Python
3487 Maximum Unique Subarray Sum After Deletion Easy Array, Hash Table, Greedy 2025-07-25 Go Python
2322 Minimum Score After Removals on a Tree Hard Array, Bit Manipulation, Tree, Depth-First Search 2025-07-24 Go Python
1672 Richest Customer Wealth Easy Array, Matrix 2025-07-23 Go Python
1695 Maximum Erasure Value Medium Array, Hash Table, Sliding Window 2025-07-22 Go Python
1480 Running Sum of 1d Array Easy Array, Prefix Sum 2025-07-21 Go Python
1948 Delete Duplicate Folders in System Hard Array, Hash Table, String, Trie, Hash Function 2025-07-20 Go Python
1233 Remove Sub-Folders from the Filesystem Medium Array, String, Depth-First Search, Trie 2025-07-19 Go Python
2163 Minimum Difference in Sums After Removal of Elements Hard Array, Dynamic Programming, Heap (Priority Queue) 2025-07-18 Go Python
3202 Find the Maximum Length of Valid Subsequence II Medium Array, Dynamic Programming 2025-07-17 Go Python
3201 Find the Maximum Length of Valid Subsequence I Medium Array, Dynamic Programming 2025-07-16 Go Python
3136 Valid Word Easy String 2025-07-15 Go Python
1290 Convert Binary Number in a Linked List to Integer Easy Linked List, Math 2025-07-14 Go Python
2410 Maximum Matching of Players With Trainers Medium Array, Two Pointers, Greedy, Sorting 2025-07-13 Go Python
1900 The Earliest and Latest Rounds Where Players Compete Hard Dynamic Programming, Memoization 2025-07-12 Go Python
1342 Number of Steps to Reduce a Number to Zero Easy Math, Bit Manipulation 2025-07-11 Go Python
3440 Reschedule Meetings for Maximum Free Time II Medium Array, Greedy, Enumeration 2025-07-10 Go Python
3439 Reschedule Meetings for Maximum Free Time I Medium Array, Greedy, Sliding Window 2025-07-09 Go Python
1337 The K Weakest Rows in a Matrix Easy Array, Binary Search, Sorting, Heap (Priority Queue), Matrix 2025-07-08 Go Python
1353 Maximum Number of Events That Can Be Attended Medium Array, Greedy, Sorting, Heap (Priority Queue) 2025-07-07 Go Python
1865 Finding Pairs With a Certain Sum Medium Array, Hash Table, Design 2025-07-06 Go Python
1394 Find Lucky Integer in an Array Easy Array, Hash Table, Counting 2025-07-05 Go Python
3307 Find the K-th Character in String Game II Hard Math, Bit Manipulation, Recursion 2025-07-04 Go Python
3304 Find the K-th Character in String Game I Easy Math, Bit Manipulation, Recursion, Simulation 2025-07-03 Go Python
3333 Find the Original Typed String II Hard String, Dynamic Programming, Prefix Sum 2025-07-02 Go Python
3330 Find the Original Typed String I Easy String 2025-07-01 Go Python
0594 Longest Harmonious Subsequence Easy Array, Hash Table, Sliding Window, Sorting, Counting 2025-06-30 Go Python
1498 Number of Subsequences That Satisfy the Given Sum Condition Medium Array, Two Pointers, Binary Search, Sorting 2025-06-29 Go Python
2099 Find Subsequence of Length K With the Largest Sum Easy Array, Hash Table, Sorting, Heap (Priority Queue) 2025-06-28 Go Python
2014 Longest Subsequence Repeated k Times Hard String, Backtracking, Greedy, Counting, Enumeration 2025-06-27 Go Python
2311 Longest Binary Subsequence Less Than or Equal to K Medium String, Dynamic Programming, Greedy, Memoization 2025-06-26 Go Python
2040 Kth Smallest Product of Two Sorted Arrays Hard Array, Binary Search 2025-06-25 Go Python
2200 Find All K-Distant Indices in an Array Easy Array, Two Pointers 2025-06-24 Go Python
2081 Sum of k-Mirror Numbers Hard Math, Enumeration 2025-06-23 Go Python
2138 Divide a String Into Groups of Size k Easy String, Simulation 2025-06-22 Go Python
3085 Minimum Deletions to Make String K-Special Medium Hash Table, String, Greedy, Sorting, Counting 2025-06-21 Go Python
3443 Maximum Manhattan Distance After K Changes Medium Hash Table, Math, String, Counting 2025-06-20 Go Python
2294 Partition Array Such That Maximum Difference Is K Medium Array, Greedy, Sorting 2025-06-19 Go Python
2966 Divide Array Into Arrays With Max Difference Medium Array, Greedy, Sorting 2025-06-18 Go Python
0824 Goat Latin Easy String 2025-06-17 Go Python
2016 Maximum Difference Between Increasing Elements Easy Array 2025-06-16 Go Python
1432 Max Difference You Can Get From Changing an Integer Medium Math, Greedy 2025-06-15 Go Python
2566 Maximum Difference by Remapping a Digit Easy Math, Greedy 2025-06-14 Go Python
2616 Minimize the Maximum Difference of Pairs Medium Array, Binary Search, Greedy 2025-06-13 Go Python
3423 Maximum Difference Between Adjacent Elements in a Circular Array Easy Array 2025-06-12 Go Python
3445 Maximum Difference Between Even and Odd Frequency II Hard String, Sliding Window, Enumeration, Prefix Sum 2025-06-11 Go Python
3442 Maximum Difference Between Even and Odd Frequency I Easy Hash Table, String, Counting 2025-06-10 Go Python
0657 Robot Return to Origin Easy String, Simulation 2025-06-09 Go Python
0386 Lexicographical Numbers Medium Depth-First Search, Trie 2025-06-08 Go Python
3170 Lexicographically Minimum String After Removing Stars Medium Hash Table, String, Stack, Greedy, Heap (Priority Queue) 2025-06-07 Go Python
2434 Using a Robot to Print the Lexicographically Smallest String Medium Hash Table, String, Stack, Greedy 2025-06-06 Go Python
1061 Lexicographically Smallest Equivalent String Medium String, Union Find 2025-06-05 Go Python
3403 Find the Lexicographically Largest String From the Box I Medium Two Pointers, String, Enumeration 2025-06-04 Go Python
1298 Maximum Candies You Can Get from Boxes Hard Array, Breadth-First Search, Graph 2025-06-03 Go Python
0135 Candy Hard Array, Greedy 2025-06-02 Go Python
2929 Distribute Candies Among Children II Medium Math, Combinatorics, Enumeration 2025-06-01 Go Python
0909 Snakes and Ladders Medium Array, Breadth-First Search, Matrix 2025-05-31 Go Python
2359 Find Closest Node to Given Two Nodes Medium Depth-First Search, Graph 2025-05-30 Go Python
3373 Maximize the Number of Target Nodes After Connecting Trees II Hard Tree, Depth-First Search, Breadth-First Search 2025-05-29 Go Python
3372 Maximize the Number of Target Nodes After Connecting Trees I Medium Tree, Depth-First Search, Breadth-First Search 2025-05-28 Go Python
2894 Divisible and Non-divisible Sums Difference Easy Math 2025-05-27 Go Python
0520 Detect Capital Easy String 2025-05-26 Go Python
2131 Longest Palindrome by Concatenating Two Letter Words Medium Array, Hash Table, String, Greedy, Counting 2025-05-25 Go Python
2942 Find Words Containing Character Easy Array, String 2025-05-24 Go Python
2973 Find Number of Coins to Place in Tree Nodes Hard Dynamic Programming, Tree, Depth-First Search, Sorting, Heap (Priority Queue) 2025-05-23 Go Python
3362 Zero Array Transformation III Medium Array, Greedy, Sorting, Heap (Priority Queue), Prefix Sum 2025-05-22 Go Python
1434 Number of Ways to Wear Different Hats to Each Other Hard Array, Dynamic Programming, Bit Manipulation, Bitmask 2025-05-21 Go Python
3355 Zero Array Transformation I Medium Array, Prefix Sum 2025-05-20 Go Python
3024 Type of Triangle Easy Array, Math, Sorting 2025-05-19 Go Python
1931 Painting a Grid With Three Different Colors Hard Dynamic Programming 2025-05-18 Go Python
0500 Keyboard Row Easy Array, Hash Table, String 2025-05-17 Go Python
2901 Longest Unequal Adjacent Groups Subsequence II Medium Array, String, Dynamic Programming 2025-05-16 Go Python
2900 Longest Unequal Adjacent Groups Subsequence I Easy Array, String, Dynamic Programming, Greedy 2025-05-15 Go Python
3337 Total Characters in String After Transformations II Hard Hash Table, Math, String, Dynamic Programming, Counting 2025-05-14 Go Python
3335 Total Characters in String After Transformations I Medium Hash Table, Math, String, Dynamic Programming, Counting 2025-05-13 Go Python
2094 Finding 3-Digit Even Numbers Easy Array, Hash Table, Sorting, Enumeration 2025-05-12 Go Python
0482 License Key Formatting Easy String 2025-05-11 Go Python
2918 Minimum Equal Sum of Two Arrays After Replacing Zeros Medium Array, Greedy 2025-05-10 Go Python
3343 Count Number of Balanced Permutations Hard Math, String, Dynamic Programming, Combinatorics 2025-05-09 Go Python
3342 Find Minimum Time to Reach Last Room II Medium Array, Graph, Heap (Priority Queue), Matrix, Shortest Path 2025-05-08 Go Python
3341 Find Minimum Time to Reach Last Room I Medium Array, Graph, Heap (Priority Queue), Matrix, Shortest Path 2025-05-07 Go Python
1920 Build Array from Permutation Easy Array, Simulation 2025-05-06 Go Python
0790 Domino and Tromino Tiling Medium Dynamic Programming 2025-05-05 Go Python
1128 Number of Equivalent Domino Pairs Easy Array, Hash Table, Counting 2025-05-04 Go Python
1007 Minimum Domino Rotations For Equal Row Medium Array, Greedy 2025-05-03 Go Python
0838 Push Dominoes Medium Two Pointers, String, Dynamic Programming 2025-05-02 Go Python
2071 Maximum Number of Tasks You Can Assign Hard Array, Binary Search, Greedy, Queue, Sorting, Monotonic Queue 2025-05-01 Go Python
0459 Repeated Substring Pattern Easy String, String Matching 2025-04-30 Go Python
0434 Number of Segments in a String Easy String 2025-04-29 Go Python
3405 Count the Number of Arrays with K Matching Adjacent Elements Hard Math, Combinatorics 2025-04-28 Go Python
3392 Count Subarrays of Length Three With a Condition Easy Array 2025-04-27 Go Python
3113 Find the Number of Subarrays Where Boundary Elements Are Maximum Hard Array, Binary Search, Stack, Monotonic Stack 2025-04-26 Go Python
2845 Count of Interesting Subarrays Medium Array, Hash Table, Prefix Sum 2025-04-25 Go Python
2799 Count Complete Subarrays in an Array Medium Array, Hash Table, Sliding Window 2025-04-24 Go Python
1399 Count Largest Group Easy Hash Table, Math 2025-04-23 Go Python
2338 Count the Number of Ideal Arrays Hard Math, Dynamic Programming, Combinatorics, Number Theory 2025-04-22 Go Python
2145 Count the Hidden Sequences Medium Array, Prefix Sum 2025-04-21 Go Python
0781 Rabbits in Forest Medium Array, Hash Table, Math, Greedy 2025-04-20 Go Python
2563 Count the Number of Fair Pairs Medium Array, Two Pointers, Binary Search, Sorting 2025-04-19 Go Python
0038 Count and Say Medium String 2025-04-18 Go Python
2176 Count Equal and Divisible Pairs in an Array Easy Array 2025-04-17 Go Python
2537 Count the Number of Good Subarrays Medium Array, Hash Table, Sliding Window 2025-04-16 Go Python
2179 Count Good Triplets in an Array Hard Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set 2025-04-15 Go Python
1534 Count Good Triplets Easy Array, Enumeration 2025-04-14 Go Python
1922 Count Good Numbers Medium Math, Recursion 2025-04-13 Go Python
3272 Find the Count of Good Integers Hard Hash Table, Math, Combinatorics, Enumeration 2025-04-12 Go Python
2843 Count Symmetric Integers Easy Math, Enumeration 2025-04-11 Go Python
2999 Count the Number of Powerful Integers Hard Math, String, Dynamic Programming 2025-04-10 Go Python
3375 Minimum Operations to Make Array Values Equal to K Easy Array, Hash Table 2025-04-09 Go Python
3396 Minimum Number of Operations to Make Elements in Array Distinct Easy Array, Hash Table 2025-04-08 Go Python
0416 Partition Equal Subset Sum Medium Array, Dynamic Programming 2025-04-07 Go Python
0368 Largest Divisible Subset Medium Array, Math, Dynamic Programming, Sorting 2025-04-06 Go Python
0383 Ransom Note Easy Hash Table, String, Counting 2025-04-05 Go Python
1123 Lowest Common Ancestor of Deepest Leaves Medium Hash Table, Tree, Depth-First Search, Breadth-First Search, Binary Tree 2025-04-04 Go Python
2874 Maximum Value of an Ordered Triplet II Medium Array 2025-04-03 Go Python
2873 Maximum Value of an Ordered Triplet I Easy Array 2025-04-02 Go Python
2140 Solving Questions With Brainpower Medium Array, Dynamic Programming 2025-04-01 Go Python
0290 Word Pattern Easy Hash Table, String 2025-03-31 Go Python
0763 Partition Labels Medium Hash Table, Two Pointers, String, Greedy 2025-03-30 Go Python
2818 Apply Operations to Maximize Score Hard Array, Math, Stack, Greedy, Sorting, Monotonic Stack, Number Theory 2025-03-29 Go Python
2503 Maximum Number of Points From Grid Queries Hard Array, Two Pointers, Breadth-First Search, Union Find, Sorting, Heap (Priority Queue), Matrix 2025-03-28 Go Python
2780 Minimum Index of a Valid Split Medium Array, Hash Table, Sorting 2025-03-27 Go Python
2033 Minimum Operations to Make a Uni-Value Grid Medium Array, Math, Sorting, Matrix 2025-03-26 Go Python
3394 Check if Grid can be Cut into Sections Medium Array, Sorting 2025-03-25 Go Python
3169 Count Days Without Meetings Medium Array, Sorting 2025-03-24 Go Python
1976 Number of Ways to Arrive at Destination Medium Dynamic Programming, Graph, Topological Sort, Shortest Path 2025-03-23 Go Python
2685 Count the Number of Complete Components Medium Depth-First Search, Breadth-First Search, Union Find, Graph 2025-03-22 Go Python
2115 Find All Possible Recipes from Given Supplies Medium Array, Hash Table, String, Graph, Topological Sort 2025-03-21 Go Python
3108 Minimum Cost Walk in Weighted Graph Hard Array, Bit Manipulation, Union Find, Graph 2025-03-20 Go Python
3191 Minimum Operations to Make Binary Array Elements Equal to One I Medium Array, Bit Manipulation, Queue, Sliding Window, Prefix Sum 2025-03-19 Go Python
2401 Longest Nice Subarray Medium Array, Bit Manipulation, Sliding Window 2025-03-18 Go Python
2206 Divide Array Into Equal Pairs Easy Array, Hash Table, Bit Manipulation, Counting 2025-03-17 Go Python
2594 Minimum Time to Repair Cars Medium Array, Binary Search 2025-03-16 Go Python
2560 House Robber IV Medium Array, Binary Search 2025-03-15 Go Python
2226 Maximum Candies Allocated to K Children Medium Array, Binary Search 2025-03-14 Go Python
3356 Zero Array Transformation II Medium Array, Binary Search, Prefix Sum 2025-03-13 Go Python
2529 Maximum Count of Positive Integer and Negative Integer Easy Array, Binary Search, Counting 2025-03-12 Go Python
1358 Number of Substrings Containing All Three Characters Medium Hash Table, String, Sliding Window 2025-03-11 Go Python
3306 Count of Substrings Containing Every Vowel and K Consonants II Medium Hash Table, String, Sliding Window 2025-03-10 Go Python
3208 Alternating Groups II Medium Array, Sliding Window 2025-03-09 Go Python
2379 Minimum Recolors to Get K Consecutive Black Blocks Easy String, Sliding Window 2025-03-08 Go Python
2523 Closest Prime Numbers in Range Medium Math, Number Theory 2025-03-07 Go Python
2965 Find Missing and Repeated Values Easy Array, Hash Table, Math, Matrix 2025-03-06 Go Python
2579 Count Total Number of Colored Cells Medium Math 2025-03-05 Go Python
1780 Check if Number is a Sum of Powers of Three Medium Math 2025-03-04 Go Python
2161 Partition Array According to Given Pivot Medium Array, Two Pointers, Simulation 2025-03-03 Go Python
2570 Merge Two 2D Arrays by Summing Values Easy Array, Hash Table, Two Pointers 2025-03-02 Go Python
2460 Apply Operations to an Array Easy Array, Two Pointers, Simulation 2025-03-01 Go Python
1092 Shortest Common Supersequence Hard String, Dynamic Programming 2025-02-28 Go Python
0873 Length of Longest Fibonacci Subsequence Medium Array, Hash Table, Dynamic Programming 2025-02-27 Go Python
1749 Maximum Absolute Sum of Any Subarray Medium Array, Dynamic Programming 2025-02-26 Go Python
1524 Number of Sub-arrays With Odd Sum Medium Array, Math, Dynamic Programming, Prefix Sum 2025-02-25 Go Python
2467 Most Profitable Path in a Tree Medium Array, Tree, Depth-First Search, Breadth-First Search, Graph 2025-02-24 Go Python
0889 Construct Binary Tree from Preorder and Postorder Traversal Medium Array, Hash Table, Divide and Conquer, Tree, Binary Tree 2025-02-23 Go Python
0832 Flipping an Image Easy Array, Two Pointers, Bit Manipulation, Matrix, Simulation 2025-02-22 Go Python
1261 Find Elements in a Contaminated Binary Tree Medium Hash Table, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree 2025-02-21 Go Python
1980 Find Unique Binary String Medium Array, Hash Table, String, Backtracking 2025-02-20 Go Python
1415 The k-th Lexicographical String of All Happy Strings of Length n Medium String, Backtracking 2025-02-19 Go Python
2375 Construct Smallest Number From DI String Medium String, Backtracking, Stack, Greedy 2025-02-18 Go Python
1079 Letter Tile Possibilities Medium Hash Table, String, Backtracking, Counting 2025-02-17 Go Python
1718 Construct the Lexicographically Largest Valid Sequence Medium Array, Backtracking 2025-02-16 Go Python
2698 Find the Punishment Number of an Integer Medium Math, Backtracking 2025-02-15 Go Python
1352 Product of the Last K Numbers Medium Array, Math, Design, Data Stream, Prefix Sum 2025-02-14 Go Python
3066 Minimum Operations to Exceed Threshold Value II Medium Array, Heap (Priority Queue), Simulation 2025-02-13 Go Python
2342 Max Sum of a Pair With Equal Sum of Digits Medium Array, Hash Table, Sorting, Heap (Priority Queue) 2025-02-12 Go Python
1910 Remove All Occurrences of a Substring Medium String, Stack, Simulation 2025-02-11 Go Python
3174 Clear Digits Easy String, Stack, Simulation 2025-02-10 Go Python
2364 Count Number of Bad Pairs Medium Array, Hash Table, Math, Counting 2025-02-09 Go Python
2349 Design a Number Container System Medium Hash Table, Design, Heap (Priority Queue), Ordered Set 2025-02-08 Go Python
3160 Find the Number of Distinct Colors Among the Balls Medium Array, Hash Table, Simulation 2025-02-07 Go Python
1726 Tuple with Same Product Medium Array, Hash Table, Counting 2025-02-06 Go Python
1790 Check if One String Swap Can Make Strings Equal Easy Hash Table, String, Counting 2025-02-05 Go Python
1800 Maximum Ascending Subarray Sum Easy Array 2025-02-04 Go Python
3105 Longest Strictly Increasing or Strictly Decreasing Subarray Easy Array 2025-02-03 Go Python
1752 Check if Array Is Sorted and Rotated Easy Array 2025-02-02 Go Python
3151 Special Array I Easy Array 2025-02-01 Go Python
0827 Making A Large Island Hard Array, Depth-First Search, Breadth-First Search, Union Find, Matrix 2025-01-31 Go Python
0785 Is Graph Bipartite? Medium Depth-First Search, Breadth-First Search, Union Find, Graph 2025-01-31 Go Python
2493 Divide Nodes Into the Maximum Number of Groups Hard Breadth-First Search, Union Find, Graph 2025-01-30 Go Python
0684 Redundant Connection Medium Depth-First Search, Breadth-First Search, Union Find, Graph 2025-01-29 Go Python
2658 Maximum Number of Fish in a Grid Medium Array, Depth-First Search, Breadth-First Search, Union Find, Matrix 2025-01-28 Go Python
1462 Course Schedule IV Medium Depth-First Search, Breadth-First Search, Graph, Topological Sort 2025-01-27 Go Python
2127 Maximum Employees to Be Invited to a Meeting Hard Depth-First Search, Graph, Topological Sort 2025-01-26 Go Python
2948 Make Lexicographically Smallest Array by Swapping Elements Medium Array, Union Find, Sorting 2025-01-25 Go Python
0802 Find Eventual Safe States Medium Depth-First Search, Breadth-First Search, Graph, Topological Sort 2025-01-24 Go Python
1267 Count Servers that Communicate Medium Array, Depth-First Search, Breadth-First Search, Union Find, Matrix, Counting 2025-01-23 Go Python
1765 Map of Highest Peak Medium Array, Breadth-First Search, Matrix 2025-01-22 Go Python
2017 Grid Game Medium Array, Matrix, Prefix Sum 2025-01-21 Go Python
2661 First Completely Painted Row or Column Medium Array, Hash Table, Matrix 2025-01-20 Go Python
0407 Trapping Rain Water II Hard Array, Breadth-First Search, Heap (Priority Queue), Matrix 2025-01-19 Go Python
1368 Minimum Cost to Make at Least One Valid Path in a Grid Hard Array, Breadth-First Search, Graph, Heap (Priority Queue), Matrix, Shortest Path 2025-01-18 Go Python
2683 Neighboring Bitwise XOR Medium Array, Bit Manipulation 2025-01-17 Go Python
2425 Bitwise XOR of All Pairings Medium Array, Bit Manipulation, Brainteaser 2025-01-16 Go Python
2429 Minimize XOR Medium Greedy, Bit Manipulation 2025-01-15 Go Python
2657 Find the Prefix Common Array of Two Arrays Medium Array, Hash Table, Bit Manipulation 2025-01-14 Go Python
3223 Minimum Length of String After Operations Medium Hash Table, String, Counting 2025-01-13 Go Python
2116 Check if a Parentheses String Can Be Valid Medium String, Stack, Greedy 2025-01-12 Go Python
1400 Construct K Palindrome Strings Medium Hash Table, String, Greedy, Counting 2025-01-11 Go Python
0916 Word Subsets Medium Array, Hash Table, String 2025-01-10 Go Python
2185 Counting Words With a Given Prefix Easy Array, String, String Matching 2025-01-09 Go Python
3045 Count Prefix and Suffix Pairs II Hard Array, String, Trie, Rolling Hash, String Matching, Hash Function 2025-01-08 Go Python
3042 Count Prefix and Suffix Pairs I Easy Array, String, Trie, Rolling Hash, String Matching, Hash Function 2025-01-08 Go Python
1408 String Matching in an Array Easy Array, String, String Matching 2025-01-07 Go Python
1769 Minimum Number of Operations to Move All Balls to Each Box Medium Array, String, Prefix Sum 2025-01-06 Go Python
2381 Shifting Letters II Medium Array, String, Prefix Sum 2025-01-05 Go Python
1930 Unique Length-3 Palindromic Subsequences Medium Hash Table, String, Bit Manipulation, Prefix Sum 2025-01-04 Go Python
2270 Number of Ways to Split Array Medium Array, Prefix Sum 2025-01-03 Go Python
2559 Count Vowel Strings in Ranges Medium Array, String, Prefix Sum 2025-01-02 Go Python
1422 Maximum Score After Splitting a String Easy String, Prefix Sum 2025-01-01 Go Python
0983 Minimum Cost For Tickets Medium Array, Dynamic Programming 2024-12-31 Go Python
0067 Add Binary Easy Math, String, Bit Manipulation, Simulation 2024-12-31 Go Python
2009 Minimum Number of Operations to Make Array Continuous Hard Array, Hash Table, Binary Search, Sliding Window 2024-12-31 Go Python
0560 Subarray Sum Equals K Medium Array, Hash Table, Prefix Sum 2024-12-30 Go Python
2466 Count Ways To Build Good Strings Medium Dynamic Programming 2024-12-30 Go Python
0941 Valid Mountain Array Easy Array 2024-12-29 Go Python
0953 Verifying an Alien Dictionary Easy Array, Hash Table, String 2024-12-29 Go Python
0689 Maximum Sum of 3 Non-Overlapping Subarrays Hard Array, Dynamic Programming 2024-12-28 Go Python
1014 Best Sightseeing Pair Medium Array, Dynamic Programming 2024-12-27 Go Python
0494 Target Sum Medium Array, Dynamic Programming, Backtracking 2024-12-26 Go Python
0617 Merge Two Binary Trees Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-12-26 Go Python
0515 Find Largest Value in Each Tree Row Medium Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-12-25 Go Python
3203 Find Minimum Diameter After Merging Two Trees Hard Tree, Depth-First Search, Breadth-First Search, Graph 2024-12-24 Go Python
0108 Convert Sorted Array to Binary Search Tree Easy Array, Divide and Conquer, Tree, Binary Search Tree, Binary Tree 2024-12-24 Go Python
0257 Binary Tree Paths Easy String, Backtracking, Tree, Depth-First Search, Binary Tree 2024-12-23 Go Python
2940 Find Building Where Alice and Bob Can Meet Hard Array, Binary Search, Stack, Binary Indexed Tree, Segment Tree, Heap (Priority Queue), Monotonic Stack 2024-12-23 Go Python
0461 Hamming Distance Easy Bit Manipulation 2024-12-22 Go Python
0231 Power of Two Easy Math, Bit Manipulation, Recursion 2024-12-21 Go Python
2872 Maximum Number of K-Divisible Components Hard Tree, Depth-First Search 2024-12-21 Go Python
1074 Number of Submatrices That Sum to Target Hard Array, Hash Table, Matrix, Prefix Sum 2024-12-20 Go Python
0111 Minimum Depth of Binary Tree Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-12-20 Go Python
0605 Can Place Flowers Easy Array, Greedy 2024-12-19 Go Python
1591 Strange Printer II Hard Array, Graph, Topological Sort, Matrix 2024-12-19 Go Python
1475 Final Prices With a Special Discount in a Shop Easy Array, Stack, Monotonic Stack 2024-12-18 Go Python
2448 Minimum Cost to Make Array Equal Hard Array, Binary Search, Greedy, Sorting, Prefix Sum 2024-12-17 Go Python
0242 Valid Anagram Easy Hash Table, String, Sorting 2024-12-17 Go Python
0895 Maximum Frequency Stack Hard Hash Table, Stack, Design, Ordered Set 2024-12-16 Go Python
3264 Final Array State After K Multiplication Operations I Easy Array, Math, Heap (Priority Queue), Simulation 2024-12-16 Go Python
1782 Count Pairs Of Nodes Hard Array, Two Pointers, Binary Search, Graph, Sorting 2024-12-15 Go Python
0342 Power of Four Easy Math, Bit Manipulation, Recursion 2024-12-15 Go Python
1095 Find in Mountain Array Hard Binary Search, Recursion, Two Pointers, Dynamic Programming, Greedy, Memoization, Backtracking 2024-12-14 Go Python
0035 Search Insert Position Easy Binary Search 2024-12-14 Go Python
0374 Guess Number Higher or Lower Easy Binary Search 2024-12-13 Go Python
0460 LFU Cache Hard Hash Table, Linked List, Design, Doubly-Linked List 2024-12-13 Go Python
2558 Take Gifts From the Richest Pile Easy Array, Heap (Priority Queue), Simulation 2024-12-12 Go Python
1675 Minimize Deviation in Array Hard Array, Greedy, Heap (Priority Queue), Ordered Set 2024-12-11 Go Python
0278 First Bad Version Easy Binary Search, Interactive 2024-12-11 Go Python
2251 Number of Flowers in Full Bloom Hard Array, Hash Table, Binary Search, Sorting, Prefix Sum, Ordered Set 2024-12-10 Go Python
0541 Reverse String II Easy Two Pointers, String 2024-12-10 Go Python
1857 Largest Color Value in a Directed Graph Hard Hash Table, Dynamic Programming, Graph, Topological Sort, Memoization, Counting 2024-12-09 Go Python
0557 Reverse Words in a String III Easy Two Pointers, String 2024-12-09 Go Python
1553 Minimum Number of Days to Eat N Oranges Hard Dynamic Programming, Memoization 2024-12-08 Go Python
1047 Remove All Adjacent Duplicates In String Easy String, Stack 2024-12-08 Go Python
2421 Number of Good Paths Hard Array, Hash Table, Tree, Union Find, Graph, Sorting 2024-12-07 Go Python
0389 Find the Difference Easy Hash Table, String, Bit Manipulation, Sorting 2024-12-07 Go Python
1489 Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree Hard Union Find, Graph, Sorting, Minimum Spanning Tree, Strongly Connected Component 2024-12-06 Go Python
1295 Find Numbers with Even Number of Digits Easy Array, Math 2024-12-06 Go Python
0472 Concatenated Words Hard Array, String, Dynamic Programming, Depth-First Search, Trie 2024-12-05 Go Python
0069 Sqrt(x) Easy Math, Binary Search 2024-12-05 Go Python
0118 Pascal's Triangle Easy Array, Dynamic Programming 2024-12-04 Go Python
1799 Maximize Score After N Operations Hard Array, Math, Dynamic Programming, Backtracking, Bit Manipulation, Number Theory, Bitmask 2024-12-04 Go Python
1964 Find the Longest Valid Obstacle Course at Each Position Hard Array, Binary Search, Binary Indexed Tree 2024-12-03 Go Python
1455 Check If a Word Occurs As a Prefix of Any Word in a Sentence Easy Two Pointers, String, String Matching 2024-12-02 Go Python
3244 Shortest Distance After Road Addition Queries II Hard Array, Greedy, Graph, Ordered Set 2024-12-01 Go Python
2097 Valid Arrangement of Pairs Hard Depth-First Search, Graph, Eulerian Circuit 2024-11-30 Go Python
2577 Minimum Time to Visit a Cell In a Grid Hard Array, Breadth-First Search, Graph, Heap (Priority Queue), Matrix, Shortest Path 2024-11-29 Go Python
2290 Minimum Obstacle Removal to Reach Corner Hard Array, Breadth-First Search, Graph, Heap (Priority Queue), Matrix, Shortest Path 2024-11-28 Go Python
1346 Check If N and Its Double Exist Easy Array, Hash Table, Two Pointers, Binary Search, Sorting 2024-11-27 Go Python
0066 Plus One Easy Array, Math 2024-11-26 Go Python
0773 Sliding Puzzle Hard Array, Breadth-First Search, Matrix 2024-11-25 Go Python
0101 Symmetric Tree Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-11-24 Go Python
1235 Maximum Profit in Job Scheduling Hard Array, Binary Search, Dynamic Programming, Sorting 2024-11-23 Go Python
1751 Maximum Number of Events That Can Be Attended II Hard Array, Binary Search, Dynamic Programming, Sorting 2024-11-22 Go Python
0940 Distinct Subsequences II Hard String, Dynamic Programming 2024-11-21 Go Python
2218 Maximum Value of K Coins From Piles Hard Array, Dynamic Programming, Prefix Sum 2024-11-20 Go Python
0920 Number of Music Playlists Hard Math, Dynamic Programming, Combinatorics 2024-11-19 Go Python
1652 Defuse the Bomb Easy Array, Sliding Window 2024-11-18 Go Python
0258 Add Digits Easy Math, Simulation, Number Theory 2024-11-17 Go Python
0283 Move Zeroes Easy Array, Two Pointers 2024-11-16 Go Python
1639 Number of Ways to Form a Target String Given a Dictionary Hard Array, String, Dynamic Programming 2024-11-15 Go Python
1547 Minimum Cost to Cut a Stick Hard Array, Dynamic Programming, Sorting 2024-11-14 Go Python
2742 Painting the Walls Hard Array, Dynamic Programming 2024-11-13 Go Python
1494 Parallel Courses II Hard Dynamic Programming, Bit Manipulation, Graph, Bitmask 2024-11-12 Go Python
0862 Shortest Subarray with Sum at Least K Hard Array, Binary Search, Queue, Sliding Window, Heap (Priority Queue), Prefix Sum, Monotonic Queue 2024-11-11 Go Python
0643 Maximum Average Subarray I Easy Array, Sliding Window 2024-11-10 Go Python
0929 Unique Email Addresses Easy Array, Hash Table, String 2024-11-09 Go Python
2050 Parallel Courses III Hard Array, Dynamic Programming, Graph, Topological Sort 2024-11-08 Go Python
1269 Number of Ways to Stay in the Same Place After Some Steps Hard Dynamic Programming 2024-11-07 Go Python
1531 String Compression II Hard String, Dynamic Programming 2024-11-06 Go Python
0203 Remove Linked List Elements Easy Linked List, Recursion 2024-11-05 Go Python
1872 Stone Game VIII Hard Array, Math, Dynamic Programming, Prefix Sum, Game Theory 2024-11-04 Go Python
0796 Rotate String Easy String, String Matching 2024-11-03 Go Python
2490 Circular Sentence Easy String 2024-11-02 Go Python
1957 Delete Characters to Make Fancy String Easy String 2024-11-01 Go Python
2463 Minimum Total Distance Traveled Hard Array, Dynamic Programming, Sorting 2024-10-31 Go Python
1671 Minimum Number of Removals to Make Mountain Array Hard Array, Binary Search, Dynamic Programming, Greedy 2024-10-30 Go Python
1563 Stone Game V Hard Array, Math, Dynamic Programming, Game Theory 2024-10-29 Go Python
1510 Stone Game IV Hard Math, Dynamic Programming, Game Theory 2024-10-28 Go Python
1406 Stone Game III Hard Array, Math, Dynamic Programming, Game Theory 2024-10-27 Go Python
2458 Height of Binary Tree After Subtree Removal Queries Hard Array, Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-10-26 Go Python
1359 Count All Valid Pickup and Delivery Options Hard Math, Dynamic Programming, Combinatorics 2024-10-25 Go Python
0446 Arithmetic Slices II - Subsequence Hard Array, Dynamic Programming 2024-10-24 Go Python
1335 Minimum Difficulty of a Job Schedule Hard Array, Dynamic Programming 2024-10-23 Go Python
0629 K Inverse Pairs Array Hard Dynamic Programming 2024-10-22 Go Python
3235 Check if the Rectangle Corner Is Reachable Hard Array, Math, Depth-First Search, Breadth-First Search, Union Find, Geometry 2024-10-21 Go Python
1106 Parsing A Boolean Expression Hard String, Stack, Recursion 2024-10-20 Go Python
2147 Number of Ways to Divide a Long Corridor Hard Math, String, Dynamic Programming 2024-10-19 Go Python
0174 Dungeon Game Hard Array, Dynamic Programming, Matrix 2024-10-18 Go Python
0412 Fizz Buzz Easy Math, String, Simulation 2024-10-17 Go Python
1463 Cherry Pickup II Hard Array, Dynamic Programming, Matrix 2024-10-16 Go Python
0741 Cherry Pickup Hard Array, Dynamic Programming, Matrix 2024-10-15 Go Python
1793 Maximum Score of a Good Subarray Hard Array, Two Pointers, Binary Search, Stack, Monotonic Stack 2024-10-14 Go Python
0632 Smallest Range Covering Elements from K Lists Hard Array, Hash Table, Greedy, Sliding Window, Sorting, Heap (Priority Queue) 2024-10-13 Go Python
0352 Data Stream as Disjoint Intervals Hard Binary Search, Design, Ordered Set 2024-10-12 Go Python
2306 Naming a Company Hard Array, Hash Table, String, Bit Manipulation, Enumeration 2024-10-11 Go Python
2402 Meeting Rooms III Hard Array, Hash Table, Sorting, Heap (Priority Queue), Simulation 2024-10-10 Go Python
1611 Minimum One Bit Operations to Make Integers Zero Hard Dynamic Programming, Bit Manipulation, Memoization 2024-10-09 Go Python
0805 Split Array With Same Average Hard Array, Math, Dynamic Programming, Bit Manipulation, Bitmask 2024-10-08 Go Python
2696 Minimum String Length After Removing Substrings Easy String, Stack, Simulation 2024-10-07 Go Python
0115 Distinct Subsequences Hard String, Dynamic Programming 2024-10-06 Go Python
0068 Text Justification Hard Array, String, Simulation 2024-10-05 Go Python
0410 Split Array Largest Sum Hard Array, Binary Search, Dynamic Programming, Greedy, Prefix Sum 2024-10-04 Go Python
2183 Count Array Pairs Divisible by K Hard Array, Math, Number Theory 2024-10-03 Go Python
1331 Rank Transform of an Array Easy Array, Hash Table, Sorting 2024-10-02 Go Python
0312 Burst Balloons Hard Array, Dynamic Programming 2024-10-01 Go Python
1851 Minimum Interval to Include Each Query Hard Array, Binary Search, Line Sweep, Sorting, Heap (Priority Queue) 2024-09-30 Go Python
0879 Profitable Schemes Hard Array, Dynamic Programming 2024-09-29 Go Python
1220 Count Vowels Permutation Hard Dynamic Programming 2024-09-28 Go Python
0732 My Calendar III Hard Binary Search, Design, Segment Tree, Prefix Sum, Ordered Set 2024-09-27 Go Python
0691 Stickers to Spell Word Hard Array, String, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask 2024-09-26 Go Python
2416 Sum of Prefix Scores of Strings Hard Array, String, Trie, Counting 2024-09-25 Go Python
3093 Longest Common Suffix Queries Hard Array, String, Trie 2024-09-24 Go Python
1643 Kth Smallest Instructions Hard Array, Math, Dynamic Programming, Combinatorics 2024-09-23 Go Python
0440 K-th Smallest in Lexicographical Order Hard Trie 2024-09-22 Go Python
0028 Find the Index of the First Occurrence in a String Easy Two Pointers, String, String Matching 2024-09-21 Go Python
0214 Shortest Palindrome Hard String, Rolling Hash, String Matching, Hash Function 2024-09-20 Go Python
1866 Number of Ways to Rearrange Sticks With K Sticks Visible Hard Math, Dynamic Programming, Combinatorics 2024-09-19 Go Python
2328 Number of Increasing Paths in a Grid Hard Array, Dynamic Programming, Depth-First Search, Breadth-First Search, Graph, Topological Sort, Memoization, Matrix 2024-09-18 Go Python
0884 Uncommon Words from Two Sentences Easy Hash Table, String, Counting 2024-09-17 Go Python
0329 Longest Increasing Path in a Matrix Hard Array, Dynamic Programming, Depth-First Search, Breadth-First Search, Graph, Topological Sort, Memoization, Matrix 2024-09-16 Go Python
0126 Word Ladder II Hard Hash Table, String, Backtracking, Breadth-First Search 2024-09-15 Go Python
0127 Word Ladder Hard Hash Table, String, Breadth-First Search 2024-09-14 Go Python
0297 Serialize and Deserialize Binary Tree Hard String, Tree, Depth-First Search, Breadth-First Search, Design, Binary Tree 2024-09-13 Go Python
1684 Count the Number of Consistent Strings Easy Array, Hash Table, String, Bit Manipulation, Counting 2024-09-12 Go Python
2220 Minimum Bit Flips to Convert Number Easy Bit Manipulation 2024-09-11 Go Python
0124 Binary Tree Maximum Path Sum Hard Dynamic Programming, Tree, Depth-First Search, Binary Tree 2024-09-10 Go Python
0480 Sliding Window Median Hard Array, Hash Table, Sliding Window, Heap (Priority Queue) 2024-09-09 Go Python
0572 Subtree of Another Tree Easy Tree, Depth-First Search, String Matching, Binary Tree, Hash Function 2024-09-08 Go Python
1425 Constrained Subsequence Sum Hard Array, Dynamic Programming, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue 2024-09-07 Go Python
1340 Jump Game V Hard Array, Dynamic Programming, Sorting 2024-09-06 Go Python
1345 Jump Game IV Hard Array, Hash Table, Breadth-First Search 2024-09-05 Go Python
2106 Maximum Fruits Harvested After at Most K Steps Hard Array, Binary Search, Sliding Window, Prefix Sum 2024-09-04 Go Python
1945 Sum of Digits of String After Convert Easy String, Simulation 2024-09-03 Go Python
1383 Maximum Performance of a Team Hard Array, Greedy, Sorting, Heap (Priority Queue) 2024-09-02 Go Python
2022 Convert 1D Array Into 2D Array Easy Array, Matrix, Simulation 2024-09-01 Go Python
0149 Max Points on a Line Hard Array, Hash Table, Math, Geometry 2024-08-31 Go Python
2699 Modify Graph Edge Weights Hard Graph, Heap (Priority Queue), Shortest Path 2024-08-30 Go Python
0014 Longest Common Prefix Easy String, Trie 2024-08-29 Go Python
0052 N-Queens II Hard Backtracking 2024-08-28 Go Python
0030 Substring with Concatenation of All Words Hard Hash Table, String, Sliding Window 2024-08-27 Go Python
0590 N-ary Tree Postorder Traversal Easy Stack, Tree, Depth-First Search 2024-08-26 Go Python
0145 Binary Tree Postorder Traversal Easy Stack, Tree, Depth-First Search, Binary Tree 2024-08-25 Go Python
0564 Find the Closest Palindrome Hard Math, String 2024-08-24 Go Python
0060 Permutation Sequence Hard Math, Recursion 2024-08-23 Go Python
0476 Number Complement Easy Bit Manipulation 2024-08-22 Go Python
0664 Strange Printer Hard String, Dynamic Programming 2024-08-21 Go Python
0051 N-Queens Hard Array, Backtracking 2024-08-20 Go Python
0013 Roman to Integer Easy Hash Table, Math, String 2024-08-19 Go Python
0136 Single Number Easy Array, Bit Manipulation 2024-08-18 Go Python
0367 Valid Perfect Square Easy Math, Binary Search 2024-08-17 Go Python
0745 Prefix and Suffix Search Hard Array, Hash Table, String, Design, Trie 2024-08-16 Go Python
0860 Lemonade Change Easy Array, Greedy 2024-08-15 Go Python
0719 Find K-th Smallest Pair Distance Hard Array, Two Pointers, Binary Search, Sorting 2024-08-14 Go Python
0733 Flood Fill Easy Array, Depth-First Search, Breadth-First Search, Matrix 2024-08-13 Go Python
0778 Swim in Rising Water Hard Array, Binary Search, Depth-First Search, Breadth-First Search, Union Find, Heap (Priority Queue), Matrix 2024-08-12 Go Python
1568 Minimum Number of Days to Disconnect Island Hard Array, Depth-First Search, Breadth-First Search, Matrix, Strongly Connected Component 2024-08-11 Go
0009 Palindrome Number Easy Math 2024-08-10 Go Python
2129 Capitalize the Title Easy String 2024-08-09 Go
0724 Find Pivot Index Easy Array, Prefix Sum 2024-08-08 Go Python
0303 Range Sum Query - Immutable Easy Array, Design, Prefix Sum 2024-08-07 Go Python
0084 Largest Rectangle in Histogram Hard Array, Stack, Monotonic Stack 2024-08-06 Go
2053 Kth Distinct String in an Array Easy Array, Hash Table, String, Counting 2024-08-05 Go
1827 Minimum Operations to Make the Array Increasing Easy Array, Greedy 2024-08-04 Go
1460 Make Two Arrays Equal by Reversing Subarrays Easy Array, Hash Table, Sorting 2024-08-03 Go
0315 Count of Smaller Numbers After Self Hard Array, Binary Search, Divide and Conquer, Binary Indexed Tree, Segment Tree, Merge Sort, Ordered Set 2024-08-02 Go Python
3232 Find if Digit Game Can Be Won Easy Array, Math 2024-08-01 Go
2678 Number of Senior Citizens Easy Array, String 2024-08-01 Go
1105 Filling Bookcase Shelves Medium Array, Dynamic Programming 2024-07-31 Go
1653 Minimum Deletions to Make String Balanced Medium String, Dynamic Programming, Stack 2024-07-30 Go
1395 Count Number of Teams Medium Array, Dynamic Programming, Binary Indexed Tree 2024-07-29 Go
2045 Second Minimum Time to Reach Destination Hard Breadth-First Search, Graph, Shortest Path 2024-07-28 Go
2976 Minimum Cost to Convert String I Medium Array, String, Graph, Shortest Path 2024-07-27 Go
1334 Find the City With the Smallest Number of Neighbors at a Threshold Distance Medium Dynamic Programming, Graph, Shortest Path 2024-07-26 Go
0123 Best Time to Buy and Sell Stock III Hard Array, Dynamic Programming 2024-07-25 Go
2191 Sort the Jumbled Numbers Medium Array, Sorting 2024-07-24 Go
1636 Sort Array by Increasing Frequency Easy Array, Hash Table, Sorting 2024-07-23 Go
2418 Sort the People Easy Array, Hash Table, String, Sorting 2024-07-22 Go
2392 Build a Matrix With Conditions Hard Array, Graph, Topological Sort, Matrix 2024-07-21 Go
1605 Find Valid Matrix Given Row and Column Sums Medium Array, Greedy, Matrix 2024-07-20 Go
1380 Lucky Numbers in a Matrix Easy Array, Matrix 2024-07-19 Go
1530 Number of Good Leaf Nodes Pairs Medium Tree, Depth-First Search, Binary Tree 2024-07-18 Go
1110 Delete Nodes And Return Forest Medium Array, Hash Table, Tree, Depth-First Search, Binary Tree 2024-07-17 Go
2096 Step-By-Step Directions From a Binary Tree Node to Another Medium String, Tree, Depth-First Search, Binary Tree 2024-07-16 Go
2196 Create Binary Tree From Descriptions Medium Array, Hash Table, Tree, Binary Tree 2024-07-15 Go
0726 Number of Atoms Hard Hash Table, String, Stack, Sorting 2024-07-14 Go
2751 Robot Collisions Hard Array, Stack, Sorting, Simulation 2024-07-13 Go
1717 Maximum Score From Removing Substrings Medium String, Stack, Greedy 2024-07-12 Go Python
1190 Reverse Substrings Between Each Pair of Parentheses Medium String, Stack 2024-07-11 Go
1598 Crawler Log Folder Easy Array, String, Stack 2024-07-10 Go
1701 Average Waiting Time Medium Array, Simulation 2024-07-09 Go
1823 Find the Winner of the Circular Game Medium Array, Math, Recursion, Queue, Simulation 2024-07-08 Go
1518 Water Bottles Easy Math, Simulation 2024-07-07 Go Python
2582 Pass the Pillow Easy Math, Simulation 2024-07-06 Go
2058 Find the Minimum and Maximum Number of Nodes Between Critical Points Medium Linked List 2024-07-05 Go
2181 Merge Nodes in Between Zeros Medium Linked List, Simulation 2024-07-04 Go
1509 Minimum Difference Between Largest and Smallest Value in Three Moves Medium Array, Greedy, Sorting 2024-07-03 Go
2215 Find the Difference of Two Arrays Easy Array, Hash Table 2024-07-02 Go
1550 Three Consecutive Odds Easy Array 2024-07-01 Go Python
1579 Remove Max Number of Edges to Keep Graph Fully Traversable Hard Union Find, Graph 2024-06-30 Go
2192 All Ancestors of a Node in a Directed Acyclic Graph Medium Depth-First Search, Breadth-First Search, Graph, Topological Sort 2024-06-29 Go
2285 Maximum Total Importance of Roads Medium Greedy, Graph, Sorting, Heap (Priority Queue) 2024-06-28 Go
1791 Find Center of Star Graph Easy Graph 2024-06-27 Go
1382 Balance a Binary Search Tree Medium Divide and Conquer, Greedy, Tree, Depth-First Search, Binary Search Tree, Binary Tree 2024-06-26 Go
1038 Binary Search Tree to Greater Sum Tree Medium Tree, Depth-First Search, Binary Search Tree, Binary Tree 2024-06-25 Go
0995 Minimum Number of K Consecutive Bit Flips Hard Array, Bit Manipulation, Queue, Sliding Window, Prefix Sum 2024-06-24 Go
1438 Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit Medium Array, Queue, Sliding Window, Heap (Priority Queue), Ordered Set, Monotonic Queue 2024-06-23 Go
1248 Count Number of Nice Subarrays Medium Array, Hash Table, Math, Sliding Window 2024-06-22 Go
1052 Grumpy Bookstore Owner Medium Array, Sliding Window 2024-06-21 Go
1552 Magnetic Force Between Two Balls Medium Array, Binary Search, Sorting 2024-06-20 Go
1482 Minimum Number of Days to Make m Bouquets Medium Array, Binary Search 2024-06-19 Go
0826 Most Profit Assigning Work Medium Array, Two Pointers, Binary Search, Greedy, Sorting 2024-06-18 Go
0633 Sum of Square Numbers Medium Math, Two Pointers, Binary Search 2024-06-17 Go
0330 Patching Array Hard Array, Greedy 2024-06-16 Go
0502 IPO Hard Array, Greedy, Sorting, Heap (Priority Queue) 2024-06-15 Go
0945 Minimum Increment to Make Array Unique Medium Array, Greedy, Sorting, Counting 2024-06-14 Go
2037 Minimum Number of Moves to Seat Everyone Easy Array, Greedy, Sorting 2024-06-13 Go
0148 Sort List Medium Linked List, Two Pointers, Divide and Conquer, Sorting, Merge Sort 2024-06-12 Go
1122 Relative Sort Array Easy Array, Hash Table, Sorting, Counting Sort 2024-06-11 Go
1051 Height Checker Easy Array, Sorting, Counting Sort 2024-06-10 Go
0974 Subarray Sums Divisible by K Medium Array, Hash Table, Prefix Sum 2024-06-09 Go Python
0523 Continuous Subarray Sum Medium Array, Hash Table, Math, Prefix Sum 2024-06-08 Go
0648 Replace Words Medium Array, Hash Table, String, Trie 2024-06-07 Go
0846 Hand of Straights Medium Array, Hash Table, Greedy, Sorting 2024-06-06 Go
0350 Intersection of Two Arrays II Easy Array, Hash Table, Two Pointers, Binary Search, Sorting 2024-06-05 Go
1002 Find Common Characters Easy Array, Hash Table, String 2024-06-05 Go
0409 Longest Palindrome Easy Hash Table, String, Greedy 2024-06-04 Go
0392 Is Subsequence Easy Two Pointers, String, Dynamic Programming 2024-06-03 Go
2486 Append Characters to String to Make Subsequence Medium Two Pointers, String, Greedy 2024-06-03 Go
0344 Reverse String Easy Two Pointers, String 2024-06-02 Go
3110 Score of a String Easy String 2024-06-01 Go
0260 Single Number III Medium Array, Bit Manipulation 2024-05-31 Go
1442 Count Triplets That Can Form Two Arrays of Equal XOR Medium Array, Hash Table, Math, Bit Manipulation, Prefix Sum 2024-05-30 Go
1404 Number of Steps to Reduce a Number in Binary Representation to One Medium String, Bit Manipulation 2024-05-29 Go
1208 Get Equal Substrings Within Budget Medium String, Binary Search, Sliding Window, Prefix Sum 2024-05-28 Go
1608 Special Array With X Elements Greater Than or Equal X Easy Array, Binary Search, Sorting 2024-05-27 Go
0552 Student Attendance Record II Hard Dynamic Programming 2024-05-26 Go
0551 Student Attendance Record I Easy String 2024-05-26 Go
0140 Word Break II Hard Array, Hash Table, String, Dynamic Programming, Backtracking, Trie, Memoization 2024-05-25 Go
0139 Word Break Medium Array, Hash Table, String, Dynamic Programming, Trie, Memoization 2024-05-25 Go
1255 Maximum Score Words Formed by Letters Hard Array, String, Dynamic Programming, Backtracking, Bit Manipulation, Bitmask 2024-05-24 Go
2597 The Number of Beautiful Subsets Medium Array, Dynamic Programming, Backtracking, Sorting 2024-05-23 Go
0131 Palindrome Partitioning Medium String, Dynamic Programming, Backtracking 2024-05-22 Go
1982 Find Array Given Subset Sums Hard Array, Divide and Conquer 2024-05-21 Go
1863 Sum of All Subset XOR Totals Easy Array, Math, Backtracking, Bit Manipulation, Combinatorics, Enumeration 2024-05-20 Go Python
3068 Find the Maximum Sum of Node Values Hard Array, Dynamic Programming, Greedy, Bit Manipulation, Tree, Sorting 2024-05-19 Go Python
0979 Distribute Coins in Binary Tree Medium Tree, Depth-First Search, Binary Tree 2024-05-18 Go
1325 Delete Leaves With a Given Value Medium Tree, Depth-First Search, Binary Tree 2024-05-17 Go
2331 Evaluate Boolean Binary Tree Easy Tree, Depth-First Search, Binary Tree 2024-05-16 Go
2812 Find the Safest Path in a Grid Medium Array, Binary Search, Breadth-First Search, Union Find, Matrix 2024-05-15 Go
1219 Path with Maximum Gold Medium Array, Backtracking, Matrix 2024-05-14 Go
0861 Score After Flipping Matrix Medium Array, Greedy, Bit Manipulation, Matrix 2024-05-13 Go
2373 Largest Local Values in a Matrix Easy Array, Matrix 2024-05-12 Go
0857 Minimum Cost to Hire K Workers Hard Array, Greedy, Sorting, Heap (Priority Queue) 2024-05-11 Go
0786 K-th Smallest Prime Fraction Medium Array, Two Pointers, Binary Search, Sorting, Heap (Priority Queue) 2024-05-10 Go
3075 Maximize Happiness of Selected Children Medium Array, Greedy, Sorting 2024-05-09 Go
0506 Relative Ranks Easy Array, Sorting, Heap (Priority Queue) 2024-05-08 Go
2816 Double a Number Represented as a Linked List Medium Linked List, Math, Stack 2024-05-07 Go
2487 Remove Nodes From Linked List Medium Linked List, Stack, Recursion, Monotonic Stack 2024-05-06 Go
0237 Delete Node in a Linked List Medium Linked List 2024-05-05 Go
0881 Boats to Save People Medium Array, Two Pointers, Greedy, Sorting 2024-05-04 Go
0165 Compare Version Numbers Medium Two Pointers, String 2024-05-03 Go Python
2441 Largest Positive Integer That Exists With Its Negative Easy Array, Hash Table, Two Pointers, Sorting 2024-05-02 Go
2000 Reverse Prefix of Word Easy Two Pointers, String 2024-05-01 Go
1915 Number of Wonderful Substrings Medium Hash Table, String, Bit Manipulation, Prefix Sum 2024-04-30 Go
2997 Minimum Number of Operations to Make Array XOR Equal to K Medium Array, Bit Manipulation 2024-04-29 Go
0834 Sum of Distances in Tree Hard Dynamic Programming, Tree, Depth-First Search, Graph 2024-04-28 Go
0514 Freedom Trail Hard String, Dynamic Programming, Depth-First Search, Breadth-First Search 2024-04-27 Go
1289 Minimum Falling Path Sum II Hard Array, Dynamic Programming, Matrix 2024-04-26 Go
2370 Longest Ideal Subsequence Medium Hash Table, String, Dynamic Programming 2024-04-25 Go
1137 N-th Tribonacci Number Easy Math, Dynamic Programming, Memoization 2024-04-24 Go
0310 Minimum Height Trees Medium Depth-First Search, Breadth-First Search, Graph, Topological Sort 2024-04-23 Go
0752 Open the Lock Medium Array, Hash Table, String, Breadth-First Search 2024-04-22 Go
1971 Find if Path Exists in Graph Easy Depth-First Search, Breadth-First Search, Union Find, Graph 2024-04-21 Go
1992 Find All Groups of Farmland Medium Array, Depth-First Search, Breadth-First Search, Matrix 2024-04-20 Go
0220 Contains Duplicate III Hard Array, Sliding Window, Sorting, Bucket Sort, Ordered Set 2024-04-19 Go
0463 Island Perimeter Easy Array, Depth-First Search, Breadth-First Search, Matrix 2024-04-18 Go
0988 Smallest String Starting From Leaf Medium String, Tree, Depth-First Search, Binary Tree 2024-04-17 Go
0623 Add One Row to Tree Medium Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-04-16 Go
0129 Sum Root to Leaf Numbers Medium Tree, Depth-First Search, Binary Tree 2024-04-15 Go
0404 Sum of Left Leaves Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-04-14 Go
0085 Maximal Rectangle Hard Array, Dynamic Programming, Stack, Matrix, Monotonic Stack 2024-04-13 Go
0221 Maximal Square Medium Array, Dynamic Programming, Matrix 2024-04-13 Go
0219 Contains Duplicate II Easy Array, Hash Table, Sliding Window 2024-04-12 Go
0402 Remove K Digits Medium String, Stack, Greedy, Monotonic Stack 2024-04-11 Go
0496 Next Greater Element I Easy Array, Hash Table, Stack, Monotonic Stack 2024-04-11 Go
0950 Reveal Cards In Increasing Order Medium Array, Queue, Sorting, Simulation 2024-04-10 Go
2073 Time Needed to Buy Tickets Easy Array, Queue, Simulation 2024-04-09 Go
0978 Longest Turbulent Subarray Medium Array, Dynamic Programming, Sliding Window 2024-04-08 Go
0678 Valid Parenthesis String Medium String, Dynamic Programming, Stack, Greedy 2024-04-07 Go
0032 Longest Valid Parentheses Hard String, Dynamic Programming, Stack 2024-04-06 Go
1544 Make The String Great Easy String, Stack 2024-04-05 Go
0212 Word Search II Hard Array, String, Backtracking, Trie, Matrix 2024-04-05 Go
1614 Maximum Nesting Depth of the Parentheses Easy String, Stack 2024-04-04 Go
0079 Word Search Medium Array, String, Backtracking, Matrix 2024-04-03 Go
0205 Isomorphic Strings Easy Hash Table, String 2024-04-02 Go
0058 Length of Last Word Easy String 2024-04-01 Go
0765 Couples Holding Hands Hard Greedy, Depth-First Search, Breadth-First Search, Union Find, Graph 2024-03-31 Go
0268 Missing Number Easy Array, Hash Table, Math, Binary Search, Bit Manipulation, Sorting 2024-03-31 Go
2444 Count Subarrays With Fixed Bounds Hard Array, Queue, Sliding Window, Monotonic Queue 2024-03-31 Go Python
0004 Median of Two Sorted Arrays Hard Array, Binary Search, Divide and Conquer 2024-03-30 Go
0992 Subarrays with K Different Integers Hard Array, Hash Table, Sliding Window, Counting 2024-03-29 Go
2962 Count Subarrays Where Max Element Appears at Least K Times Medium Array, Sliding Window 2024-03-29 Go Python
2958 Length of Longest Subarray With at Most K Frequency Medium Array, Hash Table, Sliding Window 2024-03-28 Go
2302 Count Subarrays With Score Less Than K Hard Array, Binary Search, Sliding Window, Prefix Sum 2024-03-27 Go Python
0713 Subarray Product Less Than K Medium Array, Sliding Window 2024-03-27 Go
0041 First Missing Positive Hard Array, Hash Table 2024-03-26 Go
0442 Find All Duplicates in an Array Medium Array, Hash Table 2024-03-25 Go
0287 Find the Duplicate Number Medium Array, Two Pointers, Binary Search, Bit Manipulation 2024-03-24 Go
0143 Reorder List Medium Linked List, Two Pointers, Stack, Recursion 2024-03-23 Go
0234 Palindrome Linked List Easy Linked List, Two Pointers, Stack, Recursion 2024-03-22 Go
0010 Regular Expression Matching Hard String, Dynamic Programming, Recursion 2024-03-21 Go
1669 Merge In Between Linked Lists Medium Linked List 2024-03-20 Go
0621 Task Scheduler Medium Array, Hash Table, Greedy, Sorting, Heap (Priority Queue), Counting 2024-03-19 Go
2365 Task Scheduler II Medium Array, Hash Table, Simulation 2024-03-19 Go
0452 Minimum Number of Arrows to Burst Balloons Medium Array, Greedy, Sorting 2024-03-18 Go
0057 Insert Interval Medium Array 2024-03-17 Go
0056 Merge Intervals Medium Array, Sorting 2024-03-17 Go
0525 Contiguous Array Medium Array, Hash Table, Prefix Sum 2024-03-16 Go
0238 Product of Array Except Self Medium Array, Prefix Sum 2024-03-15 Go
0930 Binary Subarrays With Sum Medium Array, Hash Table, Sliding Window, Prefix Sum 2024-03-14 Go
2485 Find the Pivot Integer Easy Math, Prefix Sum 2024-03-13 Go
1171 Remove Zero Sum Consecutive Nodes from Linked List Medium Hash Table, Linked List 2024-03-12 Go
0791 Custom Sort String Medium Hash Table, String, Sorting 2024-03-11 Go
0349 Intersection of Two Arrays Easy Array, Hash Table, Two Pointers, Binary Search, Sorting 2024-03-10 Go
2540 Minimum Common Value Easy Array, Hash Table, Two Pointers, Binary Search 2024-03-09 Go
3005 Count Elements With Maximum Frequency Easy Array, Hash Table, Counting 2024-03-08 Go
0876 Middle of the Linked List Easy Linked List, Two Pointers 2024-03-07 Go
0141 Linked List Cycle Easy Hash Table, Linked List, Two Pointers 2024-03-06 Go
1750 Minimum Length of String After Deleting Similar Ends Medium Two Pointers, String 2024-03-05 Go
0948 Bag of Tokens Medium Array, Two Pointers, Greedy, Sorting 2024-03-04 Go
0019 Remove Nth Node From End of List Medium Linked List, Two Pointers 2024-03-03 Go
0977 Squares of a Sorted Array Easy Array, Two Pointers, Sorting 2024-03-02 Go
2864 Maximum Odd Binary Number Easy Math, String, Greedy 2024-03-01 Go
1609 Even Odd Tree Medium Tree, Breadth-First Search, Binary Tree 2024-02-29 Go
0513 Find Bottom Left Tree Value Medium Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-02-28 Go
0647 Palindromic Substrings Medium String, Dynamic Programming 2024-02-28 Go
0543 Diameter of Binary Tree Easy Tree Depth-First Search Binary Tree 2024-02-27 Go
0121 Best Time to Buy and Sell Stock Easy Array, Dynamic Programming 2024-02-27 Go
0053 Maximum Subarray Medium Array, Divide and Conquer, Dynamic Programming 2024-02-27 Go
0516 Longest Palindromic Subsequence Medium String, Dynamic Programming 2024-02-26 Go
0100 Same Tree Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-02-26 Go Python
2709 Greatest Common Divisor Traversal Hard Array, Math, Union Find, Number Theory 2024-02-25 Go
0322 Coin Change Medium Array, Dynamic Programming, Breadth-First Search 2024-02-25 Go
0064 Minimum Path Sum Medium Array, Dynamic Programming, Matrix 2024-02-25 Go
0005 Longest Palindromic Substring Medium String, Dynamic Programming 2024-02-24 Go
2092 Find All People With Secret Hard Depth-First Search, Breadth-First Search, Union Find, Graph, Sorting 2024-02-24 Go
0787 Cheapest Flights Within K Stops Medium Dynamic Programming, Depth-First Search, Breadth-First Search, Graph, Heap (Priority Queue), Shortest Path 2024-02-23 Go
1143 Longest Common Subsequence Medium String, Dynamic Programming 2024-02-22 Go
0338 Counting Bits Easy Dynamic Programming, Bit Manipulation 2024-02-22 Go Python
0191 Number of 1 Bits Easy Divide and Conquer, Bit Manipulation 2024-02-22 Go
0190 Reverse Bits Easy Divide and Conquer, Bit Manipulation 2024-02-22 Go
0300 Longest Increasing Subsequence Medium Array, Binary Search, Dynamic Programming 2024-02-21 Go Python
0198 House Robber Medium Array, Dynamic Programming 2024-02-21 Go Python
0063 Unique Paths II Medium Array, Dynamic Programming, Matrix 2024-02-21 Go
0062 Unique Paths Medium Math, Dynamic Programming, Combinatorics 2024-02-21 Go
1091 Shortest Path in Binary Matrix Medium Array, Breadth-First Search, Matrix 2024-02-20 Go
0695 Max Area of Island Medium Array, Depth-First Search, Breadth-First Search, Union Find, Matrix 2024-02-20 Go
0133 Clone Graph Medium Hash Table, Depth-First Search, Breadth-First Search, Graph 2024-02-20 Go
1046 Last Stone Weight Easy Array, Heap (Priority Queue) 2024-02-19 Go
0973 K Closest Points to Origin Medium Array, Math, Divide and Conquer, Geometry, Sorting, Heap (Priority Queue), Quickselect 2024-02-19 Go
0146 LRU Cache Medium Hash Table, Linked List, Design, Doubly-Linked List 2024-02-19 Go Python
0703 Kth Largest Element in a Stream Easy Tree, Design, Binary Search Tree, Heap (Priority Queue), Binary Tree, Data Stream 2024-02-19 Go Python
0705 Design HashSet Easy Array, Hash Table, Linked List, Design, Hash Function 2024-02-19 Go
0706 Design HashMap Easy Array, Hash Table, Linked List, Design, Hash Function 2024-02-19 Go
0217 Contains Duplicate Easy Array, Hash Table, Sorting 2024-02-19 Go Python
0112 Path Sum Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-02-18 Go Python
0078 Subsets Medium Array, Backtracking, Bit Manipulation 2024-02-18 Go
0039 Combination Sum Medium Array, Backtracking 2024-02-18 Go
0701 Insert into a Binary Search Tree Medium Tree, Binary Search Tree, Binary Tree 2024-02-18 Go
0700 Search in a Binary Search Tree Easy Tree, Binary Search Tree, Binary Tree 2024-02-18 Go
0450 Delete Node in a BST Medium Tree, Binary Search Tree, Binary Tree 2024-02-18 Go
0235 Lowest Common Ancestor of a Binary Search Tree Medium Tree, Depth-First Search, Binary Search Tree, Binary Tree 2024-02-18 Go
0230 Kth Smallest Element in a BST Medium Tree, Depth-First Search, Binary Search Tree, Binary Tree 2024-02-17 Go
0105 Construct Binary Tree from Preorder and Inorder Traversal Medium Array, Hash Table, Divide and Conquer, Tree, Binary Tree 2024-02-17 Go
0094 Binary Tree Inorder Traversal Easy Stack, Tree, Depth-First Search, Binary Tree 2024-02-17 Go
0704 Binary Search Easy Array, Binary Search 2024-02-17 Go
0023 Merge k Sorted Lists Hard Linked List, Divide and Conquer, Heap (Priority Queue), Merge Sort 2024-02-16 Go
0912 Sort an Array Medium Array, Divide and Conquer, Sorting, Heap (Priority Queue), Merge Sort, Bucket Sort, Radix Sort, Counting Sort 2024-02-16 Go
0075 Sort Colors Medium Array, Two Pointers, Sorting 2024-02-16 Go Python
0070 Climbing Stairs Easy Math, Dynamic Programming, Memoization 2024-02-15 Go
0509 Fibonacci Number Easy Math, Dynamic Programming, Recursion, Memoization 2024-02-15 Go
1700 Number of Students Unable to Eat Lunch Easy Array, Stack, Queue, Simulation 2024-02-14 Go
0021 Merge Two Sorted Lists Easy Linked List, Recursion 2024-02-14 Go
1472 Design Browser History Medium Array, Linked List, Stack, Design, Doubly-Linked List, Data Stream 2024-02-14 Go
0707 Design Linked List Medium Linked List, Design 2024-02-14 Go Python
1470 Shuffle the Array Easy Array 2024-02-13 Go
0027 Remove Element Easy Array, Two Pointers 2024-02-13 Go
0026 Remove Duplicates from Sorted Array Easy Array, Two Pointers 2024-02-13 Go
1632 Rank Transform of a Matrix Hard Array, Union Find, Graph, Topological Sort, Sorting, Matrix 2024-02-12 Go
0273 Integer to English Words Hard Math, String, Recursion 2024-02-11 Go
0332 Reconstruct Itinerary Hard Depth-First Search, Graph, Eulerian Circuit 2024-02-10 Go
1028 Recover a Tree From Preorder Traversal Hard String, Tree, Depth-First Search, Binary Tree 2024-02-10 Go Python
0649 Dota2 Senate Medium String, Greedy, Queue 2024-02-09 Go
0224 Basic Calculator Hard Math, String, Stack, Recursion 2024-02-09 Go
2551 Put Marbles in Bags Hard Array, Greedy, Sorting, Heap (Priority Queue) 2024-02-09 Go Python
0432 All O`one Data Structure Hard Hash Table, Linked List, Design, Doubly-Linked List 2024-02-08 Go Python
0025 Reverse Nodes in k-Group Hard Linked List, Recursion 2024-02-08 Go
0076 Minimum Window Substring Hard Hash Table, String, Sliding Window 2024-02-08 Go
1093 Statistics from a Large Sample Medium Array, Math, Probability and Statistics 2024-02-07 Go
0295 Find Median from Data Stream Hard Two Pointers, Design, Sorting, Heap (Priority Queue), Data Stream 2024-02-07 Go Python
0239 Sliding Window Maximum Hard Array, Queue, Sliding Window, Heap (Priority Queue), Monotonic Queue 2024-02-06 Go Python
0355 Design Twitter Medium Hash Table, Linked List, Design, Heap (Priority Queue) 2024-02-05 Go
0208 Implement Trie (Prefix Tree) Medium Hash Table, String, Design, Trie 2024-02-04 Go
0225 Implement Stack using Queues Easy Stack, Design, Queue 2024-02-04 Go
0589 N-ary Tree Preorder Traversal Easy Stack, Tree, Depth-First Search 2024-02-03 Go
0429 N-ary Tree Level Order Traversal Medium Tree, Breadth-First Search 2024-02-03 Go
0387 First Unique Character in a String Easy Hash Table, String, Queue, Counting 2024-02-03 Go
0037 Sudoku Solver Hard Array, Hash Table, Backtracking, Matrix 2024-02-02 Go Python
0688 Knight Probability in Chessboard Medium Dynamic Programming 2024-02-01 Go
0746 Min Cost Climbing Stairs Easy Array, Dynamic Programming 2024-01-31 Go
0743 Network Delay Time Medium Depth-First Search, Breadth-First Search, Graph, Heap (Priority Queue), Shortest Path 2024-01-30 Go
0997 Find the Town Judge Easy Array, Hash Table, Graph 2024-01-29 Go
0207 Course Schedule Medium Depth-First Search, Breadth-First Search, Graph, Topological Sort 2024-01-28 Go
1376 Time Needed to Inform All Employees Medium Tree, Depth-First Search, Breadth-First Search 2024-01-27 Go
0074 Search a 2D Matrix Medium Array, Binary Search, Matrix 2024-01-26 Go
0073 Set Matrix Zeroes Medium Array, Hash Table, Matrix 2024-01-26 Go Python
0867 Transpose Matrix Easy Array, Matrix, Simulation 2024-01-25 Go
0994 Rotting Oranges Medium Array, Breadth-First Search, Matrix 2024-01-25 Go
0200 Number of Islands Medium Array, Depth-First Search, Breadth-First Search, Union Find, Matrix 2024-01-24 Go
0098 Validate Binary Search Tree Medium Tree, Depth-First Search, Binary Search Tree, Binary Tree 2024-01-23 Go Python
0222 Count Complete Tree Nodes Easy Binary Search, Bit Manipulation, Tree, Binary Tree 2024-01-22 Go
0199 Binary Tree Right Side View Medium Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-01-21 Go
0102 Binary Tree Level Order Traversal Medium Tree, Breadth-First Search, Binary Tree 2024-01-20 Go
0104 Maximum Depth of Binary Tree Easy Tree, Depth-First Search, Breadth-First Search, Binary Tree 2024-01-19 Go Python
0034 Find First and Last Position of Element in Sorted Array Medium Array, Binary Search 2024-01-18 Go
0215 Kth Largest Element in an Array Medium Array, Divide and Conquer, Sorting, Heap (Priority Queue), Quickselect 2024-01-17 Go
0232 Implement Queue using Stacks Easy Stack, Design, Queue 2024-01-16 Go
1249 Minimum Remove to Make Valid Parentheses Medium String, Stack 2024-01-15 Go
0020 Valid Parentheses Easy String, Stack 2024-01-14 Go
0142 Linked List Cycle II Medium Hash Table, Linked List, Two Pointers 2024-01-13 Go
0430 Flatten a Multilevel Doubly Linked List Medium Linked List, Depth-First Search, Doubly-Linked List 2024-01-12 Go
0092 Reverse Linked List II Medium Linked List 2024-01-11 Go
0206 Reverse Linked List Easy Linked List, Recursion 2024-01-10 Go
0680 Valid Palindrome II Easy Two Pointers, String, Greedy 2024-01-09 Go
0125 Valid Palindrome Easy Two Pointers, String 2024-01-09 Go
0003 Longest Substring Without Repeating Characters Medium Hash Table, String, Sliding Window 2024-01-08 Go
0844 Backspace String Compare Easy Two Pointers, String, Stack, Simulation 2024-01-07 Go
0042 Trapping Rain Water Hard Array, Two Pointers, Dynamic Programming, Stack 2024-01-06 Go
0011 Container With Most Water Medium Array, Two Pointers, Greedy 2024-01-05 Go
0001 Two Sum Easy Array, Hash Table 2024-01-04 Go Python

About

Data Structures and Algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors