LeetCode The Hard Way

Amazon

2015 problems

ProblemDifficultyFrequency Topics
2574. Left and Right Sum DifferencesEasy10.3%
ArrayPrefix Sum
3689. Maximum Total Subarray Value IMedium10.3%
ArrayGreedy
1189. Maximum Number of BalloonsEasy10.3%
Hash TableStringCounting
1967. Number of Strings That Appear as Substrings in WordEasy10.3%
ArrayString
3620. Network Recovery PathwaysHard10.3%
ArrayBinary SearchDynamic ProgrammingGraph TheoryTopological SortHeap (Priority Queue)Shortest Path
3756. Concatenate Non-Zero Digits and Multiply by Sum IIMedium10.3%
MathStringPrefix Sum
3532. Path Existence Queries in a Graph IMedium10.3%
ArrayHash TableBinary SearchUnion-FindGraph Theory
3312. Sorted GCD Pair QueriesHard10.3%
ArrayHash TableMathBinary SearchCombinatoricsCountingNumber TheoryPrefix SumEuclidean AlgorithmGreatest Common Divisor
3536. Maximum Product of Two DigitsEasy10.3%
MathSorting
4007. Widest Possible FenceHard10.3%
ArrayHash TableCountingEnumeration
3731. Find Missing ElementsEasy10.3%
ArrayHash TableSorting
2996. Smallest Missing Integer Greater Than Sequential Prefix SumEasy10.3%
ArrayHash TableSorting
2029. Stone Game IXMedium10.3%
ArrayMathGreedyMinimaxCountingGame TheoryNim GameZero-Sum Game
2904. Shortest and Lexicographically Smallest Beautiful StringMedium10.3%
StringSliding Window
Implement Rand10() Using Rand7()Medium10.3%
MathRejection SamplingRandomizedProbability and Statistics
3875. Construct Uniform Parity Array IEasy10.3%
ArrayMath
3870. Count Commas in RangeEasy10.3%
Math
1190. Reverse Substrings Between Each Pair of ParenthesesMedium10.3%
StringStackBracket Sequences
3551. Minimum Swaps to Sort by Digit SumMedium10.3%
ArrayHash TableSorting
Closest Binary Search Tree Value IIHard7.2%
Two PointersStackTreeDepth-First SearchBinary Search TreeHeap (Priority Queue)Binary Tree
Maximum Product of Word LengthsMedium7.2%
ArrayStringBit Manipulation
Create Maximum NumberHard7.2%
ArrayTwo PointersStackGreedyMonotonic Stack
Palindrome PairsHard7.2%
ArrayHash TableStringTrieHash Function
Find Leaves of Binary TreeMedium7.2%
TreeDepth-First SearchBinary TreeDP on Trees
Plus One Linked ListMedium7.2%
Linked ListMath
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee