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
LeetCode ↗45% acc.
2
MediumSort Colors✓ Our Solution
100
ArrayTwo PointersSorting
LeetCode ↗68% acc.
3
HardNon-negative Integers without Consecutive Ones✓ Our Solution
100
Dynamic Programming
LeetCode ↗40% acc.
4
MediumClone Graph✓ Our Solution
100
Hash TableDepth-First SearchBreadth-First SearchGraph
LeetCode ↗62% acc.
5
MediumWord Break✓ Our Solution
100
ArrayHash TableStringDynamic Programming+2
LeetCode ↗48% acc.
6
MediumTop K Frequent Words✓ Our Solution
100
ArrayHash TableStringTrie+4
LeetCode ↗59% acc.
7
HardShortest Palindrome✓ Our Solution
100
StringRolling HashString MatchingHash Function
LeetCode ↗41% acc.
8
MediumKth Largest Element in an Array✓ Our Solution
100
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
LeetCode ↗68% acc.
9
HardAlien Dictionary
100
ArrayStringDepth-First SearchBreadth-First Search+2
LeetCode ↗37% acc.
10
HardBasic Calculator III
100
MathStringStackRecursion
LeetCode ↗52% acc.
11
MediumInorder Successor in BST
100
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗51% acc.
12
MediumTop K Frequent Elements✓ Our Solution
100
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
13
MediumInsert Delete GetRandom O(1)✓ Our Solution
100
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
14
MediumLongest Repeating Character Replacement✓ Our Solution
100
Hash TableStringSliding Window
LeetCode ↗57% acc.
15
MediumFind All Duplicates in an Array✓ Our Solution
100
ArrayHash Table
LeetCode ↗76% acc.