LeetCode The Hard Way

Meta

1396 problems

ProblemDifficultyFrequency Topics
2914. Minimum Number of Changes to Make Binary String BeautifulMedium15%
String
1346. Check If N and Its Double ExistEasy15%
ArrayHash TableTwo PointersBinary SearchSorting
Nim GameEasy15%
MathBrainteaserMinimaxGame TheoryNim GameImpartial Game
1277. Count Square Submatrices with All OnesMedium15%
ArrayDynamic ProgrammingMatrix
Exchange SeatsMedium15%
Database
2348. Number of Zero-Filled SubarraysMedium15%
ArrayMath
783. Minimum Distance Between BST NodesEasy15%
TreeDepth-First SearchBreadth-First SearchBinary Search TreeBinary Tree
2300. Successful Pairs of Spells and PotionsMedium15%
ArrayTwo PointersBinary SearchSorting
1044. Longest Duplicate SubstringHard15%
StringBinary SearchSliding WindowRolling HashSuffix ArrayHash FunctionSuffix AutomatonSuffix TreeZ AlgorithmBoyer–Moore String-Search Algorithm
Restaurant GrowthMedium15%
Database
2551. Put Marbles in BagsHard15%
ArrayGreedySortingHeap (Priority Queue)
1749. Maximum Absolute Sum of Any SubarrayMedium15%
ArrayDynamic Programming
1235. Maximum Profit in Job SchedulingHard15%
ArrayBinary SearchDynamic ProgrammingSorting
1925. Count Square Sum TriplesEasy15%
MathEnumeration
2176. Count Equal and Divisible Pairs in an ArrayEasy15%
Array
327. Count of Range SumHard15%
ArrayBinary SearchDivide and ConquerBinary Indexed TreeSegment TreeMerge SortOrdered SetTreap
2942. Find Words Containing CharacterEasy15%
ArrayString
790. Domino and Tromino TilingMedium15%
Dynamic Programming
1550. Three Consecutive OddsEasy15%
Array
3068. Find the Maximum Sum of Node ValuesHard15%
ArrayDynamic ProgrammingGreedyBit ManipulationTreeSorting
2894. Divisible and Non-divisible Sums DifferenceEasy15%
Math
Recover Binary Search TreeMedium15%
TreeDepth-First SearchBinary Search TreeBinary Tree
743. Network Delay TimeMedium15%
Depth-First SearchBreadth-First SearchGraph TheoryHeap (Priority Queue)Shortest PathDijkstra's Algorithm
2929. Distribute Candies Among Children IIMedium15%
MathCombinatoricsEnumeration
Third Maximum NumberEasy15%
ArraySorting
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee