LeetCode The Hard Way

Microsoft

1371 problems

ProblemDifficultyFrequency Topics
Evaluate DivisionMedium22.8%
ArrayStringDepth-First SearchBreadth-First SearchUnion-FindGraph TheoryShortest PathBellman–Ford AlgorithmFloyd–Warshall Algorithm
Trapping Rain Water IIHard22.8%
ArrayBreadth-First SearchHeap (Priority Queue)Matrix
421. Maximum XOR of Two Numbers in an ArrayMedium22.8%
ArrayHash TableBit ManipulationTrie
523. Continuous Subarray SumMedium22.8%
ArrayHash TableMathPrefix SumPigeonhole Principle
572. Subtree of Another TreeEasy22.8%
TreeDepth-First SearchString MatchingBinary TreeHash Function
Robot Return to OriginEasy22.8%
StringSimulation
692. Top K Frequent WordsMedium22.8%
ArrayHash TableStringTrieSortingHeap (Priority Queue)Bucket SortCounting
752. Open the LockMedium22.8%
ArrayHash TableStringBreadth-First SearchBidirectional Search
763. Partition LabelsMedium22.8%
Hash TableTwo PointersStringGreedy
867. Transpose MatrixEasy22.8%
ArrayMatrixSimulation
909. Snakes and LaddersMedium22.8%
ArrayBreadth-First SearchMatrix
973. K Closest Points to OriginMedium22.8%
ArrayMathDivide and ConquerGeometrySortingHeap (Priority Queue)QuickselectK-D Tree
1047. Remove All Adjacent Duplicates In StringEasy22.8%
StringStack
1051. Height CheckerEasy22.8%
ArraySortingCounting SortBubble Sort
1146. Snapshot ArrayMedium22.8%
ArrayHash TableBinary SearchDesignPersistent Data Structure
1209. Remove All Adjacent Duplicates in String IIMedium22.8%
StringStack
1781. Sum of Beauty of All SubstringsMedium22.8%
Hash TableStringCounting
2502. Design Memory AllocatorMedium22.8%
ArrayHash TableDesignSimulation
To Be Or Not To BeEasy22.8%
—
389. Find the DifferenceEasy22.8%
Hash TableStringBit ManipulationSorting
2401. Longest Nice SubarrayMedium22.8%
ArrayBit ManipulationSliding Window
Immediate Food Delivery IIMedium22.8%
Database
1046. Last Stone WeightEasy22.8%
ArrayHeap (Priority Queue)
1531. String Compression IIHard22.8%
StringDynamic Programming
1008. Construct Binary Search Tree from Preorder TraversalMedium22.8%
ArrayStackTreeBinary Search TreeMonotonic StackBinary Tree
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee