LeetCode The Hard Way

Google

2324 problems

ProblemDifficultyFrequency Topics
1679. Max Number of K-Sum PairsMedium21%
ArrayHash TableTwo PointersSorting
1736. Latest Time by Replacing Hidden DigitsEasy21%
StringGreedy
1786. Number of Restricted Paths From First to Last NodeMedium21%
Dynamic ProgrammingGraph TheoryTopological SortHeap (Priority Queue)Shortest PathDijkstra's Algorithm
1793. Maximum Score of a Good SubarrayHard21%
ArrayTwo PointersBinary SearchStackMonotonic StackCartesian Tree
1996. The Number of Weak Characters in the GameMedium21%
ArrayStackGreedySortingMonotonic Stack
2178. Maximum Split of Positive Even IntegersMedium21%
MathBacktrackingGreedy
2435. Paths in Matrix Whose Sum Is Divisible by KHard21%
ArrayDynamic ProgrammingMatrix
2476. Closest Nodes Queries in a Binary Search TreeMedium21%
ArrayBinary SearchTreeDepth-First SearchBinary Search TreeBinary Tree
2556. Disconnect Path in a Binary Matrix by at Most One FlipMedium21%
ArrayDynamic ProgrammingDepth-First SearchBreadth-First SearchMatrix
2563. Count the Number of Fair PairsMedium21%
ArrayTwo PointersBinary SearchSorting
3047. Find the Largest Area of Square Inside Two RectanglesMedium21%
ArrayMathGeometry
3202. Find the Maximum Length of Valid Subsequence IIMedium21%
ArrayDynamic Programming
113. Path Sum IIMedium21%
BacktrackingTreeDepth-First SearchBinary Tree
2073. Time Needed to Buy TicketsEasy21%
ArrayQueueSimulation
Valid Phone NumbersEasy21%
Shell
Smallest Rectangle Enclosing Black PixelsHard21%
ArrayBinary SearchDepth-First SearchBreadth-First SearchMatrix
Patching ArrayHard21%
ArrayGreedy
2302. Count Subarrays With Score Less Than KHard21%
ArrayBinary SearchSliding WindowPrefix Sum
2331. Evaluate Boolean Binary TreeEasy21%
TreeDepth-First SearchBinary Tree
Guess Number Higher or Lower IIMedium21%
MathDynamic ProgrammingMinimaxGame Theory
2373. Largest Local Values in a MatrixEasy21%
ArrayMatrix
License Key FormattingEasy21%
String
Beautiful ArrangementMedium21%
ArrayDynamic ProgrammingBacktrackingBit ManipulationBitmask
Redundant Connection IIHard21%
Depth-First SearchBreadth-First SearchUnion-FindGraph Theory
846. Hand of StraightsMedium21%
ArrayHash TableGreedySorting
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee