LeetCode The Hard Way

Meta

1396 problems

ProblemDifficultyFrequency Topics
792. Number of Matching SubsequencesMedium15%
ArrayHash TableStringBinary SearchDynamic ProgrammingTrieSorting
Product Sales Analysis IEasy15%
Database
To Lower CaseEasy15%
String
1464. Maximum Product of Two Elements in an ArrayEasy15%
ArraySortingHeap (Priority Queue)
2336. Smallest Number in Infinite SetMedium15%
Hash TableDesignHeap (Priority Queue)Ordered Set
2081. Sum of k-Mirror NumbersHard15%
MathEnumeration
2603. Collect Coins in a TreeHard15%
ArrayTreeGraph TheoryTopological Sort
Repeated String MatchMedium15%
StringString MatchingZ AlgorithmKnuth–Morris–Pratt AlgorithmBoyer–Moore String-Search Algorithm
3625. Count Number of Trapezoids IIHard15%
ArrayHash TableMathGeometry
Game Play Analysis IEasy15%
Database
2594. Minimum Time to Repair CarsMedium15%
ArrayBinary Search
1466. Reorder Routes to Make All Paths Lead to the City ZeroMedium15%
Depth-First SearchBreadth-First SearchGraph Theory
3541. Find Most Frequent Vowel and ConsonantEasy15%
Hash TableStringCounting
Valid Triangle NumberMedium15%
ArrayTwo PointersBinary SearchGreedySorting
976. Largest Perimeter TriangleEasy15%
ArrayMathGreedySortingQuicksortPolygons
Find Books with No Available CopiesEasy15%
Database
3228. Maximum Number of Operations to Move Ones to the EndMedium15%
StringGreedyCounting
Nth Highest SalaryMedium15%
Database
944. Delete Columns to Make SortedEasy15%
ArrayStringLongest Increasing Subsequence
1339. Maximum Product of Splitted Binary TreeMedium15%
TreeDepth-First SearchBinary Tree
1392. Longest Happy PrefixHard15%
StringRolling HashString MatchingHash FunctionZ AlgorithmKnuth–Morris–Pratt Algorithm
1456. Maximum Number of Vowels in a Substring of Given LengthMedium15%
StringSliding Window
1967. Number of Strings That Appear as Substrings in WordEasy15%
ArrayString
2812. Find the Safest Path in a GridMedium15%
ArrayBinary SearchBreadth-First SearchUnion-FindHeap (Priority Queue)Matrix
Perfect SquaresMedium15%
MathDynamic ProgrammingBreadth-First SearchKnapsack ProblemComplete Knapsack
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee