LeetCode The Hard Way

Meta

1396 problems

ProblemDifficultyFrequency Topics
Paint FenceMedium5%
Dynamic Programming
1523. Count Odd Numbers in an Interval RangeEasy5%
Math
3439. Reschedule Meetings for Maximum Free Time IMedium5%
ArrayGreedySliding Window
1900. The Earliest and Latest Rounds Where Players CompeteHard5%
Dynamic ProgrammingMemoization
Construct Binary Tree from Inorder and Postorder TraversalMedium5%
ArrayHash TableDivide and ConquerTreeBinary Tree
2458. Height of Binary Tree After Subtree Removal QueriesHard5%
ArrayTreeDepth-First SearchBreadth-First SearchBinary Tree
910. Smallest Range IIMedium5%
ArrayMathGreedySorting
3201. Find the Maximum Length of Valid Subsequence IMedium5%
ArrayDynamic Programming
1304. Find N Unique Integers Sum up to ZeroEasy5%
ArrayMath
1203. Sort Items by Groups Respecting DependenciesHard5%
Depth-First SearchBreadth-First SearchGraph TheoryTopological SortDirected Acyclic Graph
1695. Maximum Erasure ValueMedium5%
ArrayHash TableSliding Window
2322. Minimum Score After Removals on a TreeHard5%
ArrayBit ManipulationTreeDepth-First Search
1717. Maximum Score From Removing SubstringsMedium5%
StringStackGreedy
Palindrome PairsHard5%
ArrayHash TableStringTrieHash Function
2411. Smallest Subarrays With Maximum Bitwise ORMedium5%
ArrayBinary SearchBit ManipulationSliding Window
2457. Minimum Addition to Make Integer BeautifulMedium5%
MathGreedy
898. Bitwise ORs of SubarraysMedium5%
ArrayDynamic ProgrammingBit Manipulation
2870. Minimum Number of Operations to Make Array EmptyMedium5%
ArrayHash TableGreedyCounting
2561. Rearranging FruitsHard5%
ArrayHash TableGreedySort
Complex Number MultiplicationMedium5%
MathStringSimulation
869. Reordered Power of 2Medium5%
Hash TableMathSortingCountingEnumeration
3566. Partition Array into Two Equal Product SubsetsMedium5%
ArrayBit ManipulationRecursionEnumeration
Swap Sex of EmployeesEasy5%
Database
1911. Maximum Alternating Subsequence SumMedium5%
ArrayDynamic Programming
3274. Check if Two Chessboard Squares Have the Same ColorEasy5%
MathString
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee