PG

Pocket Gems

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

Showing 15 of 15 questions

1
EasyFind the Index of the First Occurrence in a Stringβœ“ Our Solution
100
Two PointersStringString Matching
2
MediumSort Colorsβœ“ Our Solution
100
ArrayTwo PointersSorting
3
HardNon-negative Integers without Consecutive Onesβœ“ Our Solution
100
Dynamic Programming
4
MediumClone Graphβœ“ Our Solution
100
Hash TableDepth-First SearchBreadth-First SearchGraph
5
MediumWord Breakβœ“ Our Solution
100
ArrayHash TableStringDynamic Programming+2
6
MediumTop K Frequent Wordsβœ“ Our Solution
100
ArrayHash TableStringTrie+4
7
HardShortest Palindromeβœ“ Our Solution
100
StringRolling HashString MatchingHash Function
8
MediumKth Largest Element in an Arrayβœ“ Our Solution
100
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
9
HardAlien Dictionary
100
ArrayStringDepth-First SearchBreadth-First Search+2
10
HardBasic Calculator III
100
MathStringStackRecursion
11
MediumInorder Successor in BST
100
TreeDepth-First SearchBinary Search TreeBinary Tree
12
MediumTop K Frequent Elementsβœ“ Our Solution
100
ArrayHash TableDivide and ConquerSorting+4
13
MediumInsert Delete GetRandom O(1)βœ“ Our Solution
100
ArrayHash TableMathDesign+1
14
MediumLongest Repeating Character Replacementβœ“ Our Solution
100
Hash TableStringSliding Window
15
MediumFind All Duplicates in an Arrayβœ“ Our Solution
100
ArrayHash Table