LeetCode The Hard Way

Microsoft

1371 problems

ProblemDifficultyFrequency Topics
Restaurant GrowthMedium7.5%
Database
1769. Minimum Number of Operations to Move All Balls to Each BoxMedium7.5%
ArrayStringPrefix Sum
1790. Check if One String Swap Can Make Strings EqualEasy7.5%
Hash TableStringCounting
1726. Tuple with Same ProductMedium7.5%
ArrayHash TableCounting
2109. Adding Spaces to a StringMedium7.5%
ArrayTwo PointersStringSimulation
520. Detect CapitalEasy7.5%
String
1718. Construct the Lexicographically Largest Valid SequenceMedium7.5%
ArrayBacktracking
1524. Number of Sub-arrays With Odd SumMedium7.5%
ArrayMathDynamic ProgrammingPrefix Sum
889. Construct Binary Tree from Preorder and Postorder TraversalMedium7.5%
ArrayHash TableDivide and ConquerTreeBinary Tree
2523. Closest Prime Numbers in RangeMedium7.5%
MathNumber TheoryPrimality TestSieve TheoryPrime Number Sieve
2134. Minimum Swaps to Group All 1's Together IIMedium7.5%
ArraySliding Window
1886. Determine Whether Matrix Can Be Obtained By RotationEasy7.5%
ArrayMatrix
Gray CodeMedium7.5%
MathBacktrackingBit Manipulation
2874. Maximum Value of an Ordered Triplet IIMedium7.5%
ArrayPrefix Sum
Count Salary CategoriesMedium7.5%
Database
1129. Shortest Path with Alternating ColorsMedium7.5%
Breadth-First SearchGraph Theory
2481. Minimum Cuts to Divide a CircleEasy7.5%
MathGeometry
2176. Count Equal and Divisible Pairs in an ArrayEasy7.5%
Array
781. Rabbits in ForestMedium7.5%
ArrayHash TableMathGreedy
2064. Minimized Maximum of Products Distributed to Any StoreMedium7.5%
ArrayBinary SearchGreedy
2845. Count of Interesting SubarraysMedium7.5%
ArrayHash TablePrefix Sum
3517. Smallest Palindromic Rearrangement IMedium7.5%
StringSortingCounting Sort
Merge Two Binary TreesEasy7.5%
TreeDepth-First SearchBreadth-First SearchBinary Tree
2104. Solving Questions With BrainpowerMedium7.5%
ArrayDynamic Programming
3392. Count Subarrays of Length Three With a ConditionEasy7.5%
Array
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee