LeetCode The Hard Way

Yelp

28 problems

ProblemDifficultyFrequency Topics
1436. Destination CityEasy100%
ArrayHash TableString
2038. Remove Colored Pieces if Both Neighbors are the Same ColorMedium100%
MathStringGreedyGame Theory
1333. Filter Restaurants by Vegan-Friendly, Price and DistanceMedium97.3%
ArraySorting
1. Two SumEasy94.2%
ArrayHash Table
3. Longest Substring Without Repeating CharactersMedium94.2%
Hash TableStringSliding Window
14. Longest Common PrefixEasy94.2%
ArrayStringTrie
49. Group AnagramsMedium94.2%
ArrayHash TableStringSorting
56. Merge IntervalsMedium94.2%
ArraySortingQuicksort
Word Ladder IIHard94.2%
Hash TableStringBacktrackingBreadth-First SearchBidirectional Search
127. Word LadderHard94.2%
Hash TableStringBreadth-First SearchBidirectional Search
Reverse Words in a StringMedium94.2%
Two PointersString
Active BusinessesMedium94.2%
Database
206. Reverse Linked ListEasy94.2%
Linked ListRecursion
207. Course ScheduleMedium94.2%
Depth-First SearchBreadth-First SearchGraph TheoryTopological SortDirected Acyclic Graph
The Skyline ProblemHard94.2%
ArrayDivide and ConquerBinary Indexed TreeSegment TreeSweep LineSortingHeap (Priority Queue)Ordered Set
242. Valid AnagramEasy94.2%
Hash TableStringSorting
347. Top K Frequent ElementsMedium94.2%
ArrayHash TableDivide and ConquerSortingHeap (Priority Queue)Bucket SortCountingQuickselect
Insert Delete GetRandom O(1)Medium94.2%
ArrayHash TableMathDesignRandomized
Insert Delete GetRandom O(1) - Duplicates allowedHard94.2%
ArrayHash TableMathDesignRandomized
Decode StringMedium94.2%
StringStackRecursion
443. String CompressionMedium94.2%
Two PointersString
1455. Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy94.2%
Two PointersStringString Matching
Find the Closest PalindromeHard94.2%
MathString
Minimum Index Sum of Two ListsEasy94.2%
ArrayHash TableString
692. Top K Frequent WordsMedium94.2%
ArrayHash TableStringTrieSortingHeap (Priority Queue)Bucket SortCounting
AlgoMonsterVisit ZapplyCertGarden
Your logo here
Become a sponsor
Buy Me A Coffee