LeetCode The Hard Way

Amazon

2015 problems

ProblemDifficultyFrequency Topics
2578. Split With Minimum SumEasy21.9%
MathGreedySorting
2606. Find the Substring With Maximum CostMedium21.9%
ArrayHash TableStringDynamic Programming
2563. Count the Number of Fair PairsMedium21.9%
ArrayTwo PointersBinary SearchSorting
2575. Find the Divisibility Array of a StringMedium21.9%
ArrayMathString
2657. Find the Prefix Common Array of Two ArraysMedium21.9%
ArrayHash TableBit Manipulation
2917. Find the K-or of an ArrayEasy21.9%
ArrayBit Manipulation
2926. Maximum Balanced Subsequence SumHard21.9%
ArrayBinary SearchDynamic ProgrammingBinary Indexed TreeSegment Tree
2947. Count Beautiful Substrings IMedium21.9%
Hash TableMathStringEnumerationNumber TheoryPrefix Sum
2945. Find Maximum Non-decreasing Array LengthHard21.9%
ArrayBinary SearchDynamic ProgrammingStackQueueMonotonic StackPrefix SumMonotonic Queue
2973. Find Number of Coins to Place in Tree NodesHard21.9%
Dynamic ProgrammingTreeDepth-First SearchSortingHeap (Priority Queue)DP on Trees
2958. Length of Longest Subarray With at Most K FrequencyMedium21.9%
ArrayHash TableSliding Window
3005. Count Elements With Maximum FrequencyEasy21.9%
ArrayHash TableCounting
3081. Replace Question Marks in String to Minimize Its ValueMedium21.9%
Hash TableStringGreedySortingHeap (Priority Queue)Counting
3134. Find the Median of the Uniqueness ArrayHard21.9%
ArrayHash TableBinary SearchSliding Window
3154. Find Number of Ways to Reach the K-th StairHard21.9%
MathDynamic ProgrammingBit ManipulationMemoizationCombinatorics
Primary Department for Each EmployeeEasy21.9%
Database
840. Magic Squares In GridMedium21.9%
ArrayHash TableMathMatrix
3043. Find the Length of the Longest Common PrefixMedium21.9%
ArrayHash TableStringTrie
3317. Find the Number of Possible Ways for an EventHard21.9%
MathDynamic ProgrammingCombinatorics
2348. Number of Zero-Filled SubarraysMedium21.9%
ArrayMath
1267. Count Servers that CommunicateMedium21.9%
ArrayDepth-First SearchBreadth-First SearchUnion-FindMatrixCounting
2560. House Robber IVMedium21.9%
ArrayBinary SearchDynamic ProgrammingGreedy
3392. Count Subarrays of Length Three With a ConditionEasy21.9%
Array
3234. Count the Number of Substrings With Dominant OnesMedium21.9%
StringEnumeration
3304. Find the K-th Character in String Game IEasy21.9%
MathBit ManipulationRecursionSimulation
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee