LeetCode The Hard Way

Microsoft

1371 problems

ProblemDifficultyFrequency Topics
Minimum Cost to Separate Sentence Into RowsMedium27.7%
StringDynamic Programming
1952. Three DivisorsEasy27.7%
MathEnumerationNumber TheoryPrime FactorizationSieve Theory
Average Height of Buildings in Each SegmentMedium27.7%
ArraySortingHeap (Priority Queue)Prefix Sum
2028. Find Missing ObservationsMedium27.7%
ArrayMathSimulation
Subsequence of Size K With the Largest Even SumMedium27.7%
ArrayGreedySorting
2124. Check if All A's Appears Before All B'sEasy27.7%
String
Number of Unique Flavors After Sharing K CandiesMedium27.7%
ArrayHash TableSliding Window
2208. Minimum Operations to Halve Array SumMedium27.7%
ArrayGreedyHeap (Priority Queue)
All the Matches of the LeagueEasy27.7%
Database
2385. Amount of Time for Binary Tree to Be InfectedMedium27.7%
Hash TableTreeDepth-First SearchBreadth-First SearchBinary Tree
2391. Minimum Amount of Time to Collect GarbageMedium27.7%
ArrayStringPrefix Sum
2441. Largest Positive Integer That Exists With Its NegativeEasy27.7%
ArrayHash TableTwo PointersSorting
Number of Distinct Binary Strings After Applying OperationsMedium27.7%
MathString
Make the Prefix Sum Non-negativeMedium27.7%
ArrayGreedyHeap (Priority Queue)
Maximum Price to Fill a BagMedium27.7%
ArrayGreedySorting
Smallest Number With Given Digit ProductMedium27.7%
MathGreedy
3002. Maximum Size of a Set After RemovalsMedium27.7%
ArrayHash TableGreedy
Maximum Subtree of the Same ColorMedium27.7%
ArrayDynamic ProgrammingTreeDepth-First Search
Maximum Number of Intersections on the ChartHard27.7%
ArrayHash TableMathBinary Indexed TreeGeometrySweep LineSorting
3038. Maximum Number of Operations With the Same Score IEasy27.7%
ArraySimulation
3134. Find the Median of the Uniqueness ArrayHard27.7%
ArrayHash TableBinary SearchSliding Window
3111. Minimum Rectangles to Cover PointsMedium27.7%
ArrayGreedySorting
Find the Level of Tree with Minimum SumMedium27.7%
TreeDepth-First SearchBreadth-First SearchBinary Tree
3212. Count Submatrices With Equal Frequency of X and YMedium27.7%
ArrayMatrixPrefix Sum
Palindrome Partitioning IIHard27.7%
StringDynamic Programming
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee