LeetCode The Hard Way

Amazon

2015 problems

ProblemDifficultyFrequency Topics
1123. Lowest Common Ancestor of Deepest LeavesMedium5%
Hash TableTreeDepth-First SearchBreadth-First SearchBinary TreeBinary LiftingLowest Common AncestorDP on Trees
1287. Element Appearing More Than 25% In Sorted ArrayEasy5%
Array
1329. Sort the Matrix DiagonallyMedium5%
ArraySortingMatrix
1171. Remove Zero Sum Consecutive Nodes from Linked ListMedium5%
Hash TableLinked List
1360. Number of Days Between Two DatesEasy5%
MathString
1483. Kth Ancestor of a Tree NodeHard5%
Binary SearchDynamic ProgrammingBit ManipulationTreeDepth-First SearchBreadth-First SearchDesignBinary Lifting
2139. Minimum Moves to Reach Target ScoreMedium5%
MathGreedy
1405. Longest Happy StringMedium5%
StringGreedyHeap (Priority Queue)
1514. Path with Maximum ProbabilityMedium5%
ArrayGraph TheoryHeap (Priority Queue)Shortest PathDijkstra's Algorithm
1282. Group the People Given the Group Size They Belong ToMedium5%
ArrayHash TableGreedy
1347. Minimum Number of Steps to Make Two Strings AnagramMedium5%
Hash TableStringCounting
1424. Diagonal Traverse IIMedium5%
ArraySortingHeap (Priority Queue)
1509. Minimum Difference Between Largest and Smallest Value in Three MovesMedium5%
ArrayGreedySorting
1531. String Compression IIHard5%
StringDynamic Programming
1529. Minimum Suffix FlipsMedium5%
StringGreedy
1544. Make The String GreatEasy5%
StringStack
1588. Sum of All Odd Length SubarraysEasy5%
ArrayMathPrefix Sum
1608. Special Array With X Elements Greater Than or Equal XEasy5%
ArrayBinary SearchSorting
1671. Minimum Number of Removals to Make Mountain ArrayHard5%
ArrayBinary SearchDynamic ProgrammingGreedy
1646. Get Maximum in Generated ArrayEasy5%
ArraySimulation
1657. Determine if Two Strings Are CloseMedium5%
Hash TableStringSortingCounting
1717. Maximum Score From Removing SubstringsMedium5%
StringStackGreedy
1969. Minimum Non-Zero Product of the Array ElementsMedium5%
MathGreedyRecursion
1986. Minimum Number of Work Sessions to Finish the TasksMedium5%
ArrayDynamic ProgrammingBacktrackingBit ManipulationBitmask
2037. Minimum Number of Moves to Seat EveryoneEasy5%
ArrayGreedySortingCounting Sort
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee