LeetCode The Hard Way

Google

2324 problems

ProblemDifficultyFrequency Topics
1005. Maximize Sum Of Array After K NegationsEasy5%
ArrayGreedySorting
Longest Repeating SubstringMedium5%
StringBinary SearchDynamic ProgrammingRolling HashSuffix ArrayHash FunctionSuffix AutomatonSuffix Tree
1759. Count Number of Homogenous SubstringsMedium5%
MathString
2239. Find Closest Number to ZeroEasy5%
Array
2316. Count Unreachable Pairs of Nodes in an Undirected GraphMedium5%
Depth-First SearchBreadth-First SearchUnion-FindGraph Theory
2448. Minimum Cost to Make Array EqualHard5%
ArrayBinary SearchGreedySortingPrefix Sum
2610. Convert an Array Into a 2D Array With ConditionsMedium5%
ArrayHash Table
2645. Minimum Additions to Make Valid StringMedium5%
StringDynamic ProgrammingStackGreedy
2367. Number of Arithmetic TripletsEasy5%
ArrayHash TableTwo PointersEnumeration
2405. Optimal Partition of StringMedium5%
Hash TableStringGreedy
Arithmetic Slices II - SubsequenceHard5%
ArrayDynamic Programming
Poor PigsHard5%
MathDynamic ProgrammingCombinatorics
2486. Append Characters to String to Make SubsequenceMedium5%
Two PointersStringGreedy
Replace WordsMedium5%
ArrayHash TableStringTrie
Differences Between Two ObjectsMedium5%
—
861. Score After Flipping MatrixMedium5%
ArrayGreedyBit ManipulationMatrix
1171. Remove Zero Sum Consecutive Nodes from Linked ListMedium5%
Hash TableLinked List
1361. Validate Binary Tree NodesMedium5%
TreeDepth-First SearchBreadth-First SearchUnion-FindGraph TheoryBinary Tree
3193. Count the Number of InversionsHard5%
ArrayDynamic Programming
1497. Check If Array Pairs Are Divisible by kMedium5%
ArrayHash TableCounting
1579. Remove Max Number of Edges to Keep Graph Fully TraversableHard5%
Union-FindGraph Theory
1395. Count Number of TeamsMedium5%
ArrayDynamic ProgrammingBinary Indexed TreeSegment Tree
Design Circular DequeMedium5%
ArrayLinked ListDesignQueue
1420. Build Array Where You Can Find The Maximum Exactly K ComparisonsHard5%
Dynamic ProgrammingPrefix Sum
2134. Minimum Swaps to Group All 1's Together IIMedium5%
ArraySliding Window
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee