Y

Yelp

29 questions tracked28 with solutions
πŸ”
Frequency scoreSorted highest β†’ lowest frequencyβœ“ Our Solution = we have a detailed walkthrough

Showing 29 of 29 questions

1
EasyDestination Cityβœ“ Our Solution
100
ArrayHash TableString
2
MediumFilter Restaurants by Vegan-Friendly, Price and Distanceβœ“ Our Solution
100
ArraySorting
3
MediumCourse Scheduleβœ“ Our Solution
100
Depth-First SearchBreadth-First SearchGraphTopological Sort
4
98
ArrayHash Table
5
MediumLongest Substring Without Repeating Charactersβœ“ Our Solution
98
Hash TableStringSliding Window
6
MediumLetter Case Permutationβœ“ Our Solution
98
StringBacktrackingBit Manipulation
7
MediumTop K Frequent Wordsβœ“ Our Solution
98
ArrayHash TableStringTrie+4
8
EasyMinimum Index Sum of Two Listsβœ“ Our Solution
98
ArrayHash TableString
9
HardFind the Closest Palindromeβœ“ Our Solution
98
MathString
10
EasyCheck If a Word Occurs As a Prefix of Any Word in a Sentenceβœ“ Our Solution
98
Two PointersStringString Matching
11
MediumString Compressionβœ“ Our Solution
98
Two PointersString
12
MediumDecode Stringβœ“ Our Solution
98
StringStackRecursion
13
HardInsert Delete GetRandom O(1) - Duplicates allowedβœ“ Our Solution
98
ArrayHash TableMathDesign+1
14
MediumInsert Delete GetRandom O(1)βœ“ Our Solution
98
ArrayHash TableMathDesign+1
15
MediumTop K Frequent Elementsβœ“ Our Solution
98
ArrayHash TableDivide and ConquerSorting+4
16
EasyValid Anagramβœ“ Our Solution
98
Hash TableStringSorting
17
HardThe Skyline Problemβœ“ Our Solution
98
ArrayDivide and ConquerBinary Indexed TreeSegment Tree+3
18
EasyReverse Linked Listβœ“ Our Solution
98
Linked ListRecursion
19
MediumActive Businesses
98
Database
20
MediumReverse Words in a Stringβœ“ Our Solution
98
Two PointersString
21
HardWord Ladderβœ“ Our Solution
98
Hash TableStringBreadth-First Search
22
HardWord Ladder IIβœ“ Our Solution
98
Hash TableStringBacktrackingBreadth-First Search
23
MediumMerge Intervalsβœ“ Our Solution
98
ArraySorting
24
MediumGroup Anagramsβœ“ Our Solution
98
ArrayHash TableStringSorting
25
EasyLongest Common Prefixβœ“ Our Solution
98
StringTrie
26
MediumRemove Colored Pieces if Both Neighbors are the Same Colorβœ“ Our Solution
98
MathStringGreedyGame Theory
27
MediumRandom Pick with Weightβœ“ Our Solution
80
ArrayMathBinary SearchPrefix Sum+1
28
EasyMinimum String Length After Removing Substringsβœ“ Our Solution
56
StringStackSimulation
29
MediumShortest and Lexicographically Smallest Beautiful Stringβœ“ Our Solution
56
StringSliding Window