LeetCode The Hard Way

Meta

1396 problems

ProblemDifficultyFrequency Topics
2434. Using a Robot to Print the Lexicographically Smallest StringMedium8.5%
Hash TableStringStackGreedy
3170. Lexicographically Minimum String After Removing StarsMedium8.5%
Hash TableStringStackGreedyHeap (Priority Queue)
3445. Maximum Difference Between Even and Odd Frequency IIHard8.5%
StringSliding WindowEnumerationPrefix Sum
3423. Maximum Difference Between Adjacent Elements in a Circular ArrayEasy8.5%
Array
2187. Minimum Time to Complete TripsMedium8.5%
ArrayBinary Search
788. Rotated DigitsMedium8.5%
MathDynamic Programming
2200. Find All K-Distant Indices in an ArrayEasy8.5%
ArrayTwo Pointers
1642. Furthest Building You Can ReachMedium8.5%
ArrayGreedyHeap (Priority Queue)
2762. Continuous SubarraysMedium8.5%
ArrayQueueSliding WindowHeap (Priority Queue)Ordered SetMonotonic Queue
3330. Find the Original Typed String IEasy8.5%
String
Find Root of N-Ary TreeMedium8.5%
Hash TableBit ManipulationTreeDepth-First Search
1685. Sum of Absolute Differences in a Sorted ArrayMedium8.5%
ArrayMathPrefix Sum
3136. Valid WordEasy8.5%
String
2163. Minimum Difference in Sums After Removal of ElementsHard8.5%
ArrayDynamic ProgrammingHeap (Priority Queue)
2974. Minimum Number GameEasy8.5%
ArraySortingHeap (Priority Queue)Simulation
1834. Single-Threaded CPUMedium8.5%
ArraySortingHeap (Priority Queue)
3487. Maximum Unique Subarray Sum After DeletionEasy8.5%
ArrayHash TableGreedy
3561. Resulting String After Adjacent RemovalsMedium8.5%
StringStackSimulation
1009. Complement of Base 10 IntegerEasy8.5%
Bit Manipulation
2608. Shortest Cycle in a GraphHard8.5%
Breadth-First SearchGraph Theory
Design Linked ListMedium8.5%
Linked ListDesign
1461. Check If a String Contains All Binary Codes of Size KMedium8.5%
Hash TableStringBit ManipulationRolling HashHash FunctionDirected Acyclic Graph
1297. Maximum Number of Occurrences of a SubstringMedium8.5%
Hash TableStringSliding Window
1504. Count Submatrices With All OnesMedium8.5%
ArrayDynamic ProgrammingStackMatrixMonotonic Stack
2999. Count the Number of Powerful IntegersHard8.5%
MathStringDynamic Programming
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee