S

Snap

100 questions tracked83 with solutions
🔍
Frequency scoreSorted highest → lowest frequency✓ Our Solution = we have a detailed walkthrough

Showing 100 of 100 questions

1
MediumLRU Cache✓ Our Solution
100
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
2
HardMinimum Window Substring✓ Our Solution
96
Hash TableStringSliding Window
LeetCode ↗45% acc.
3
MediumMeeting Rooms II
94
ArrayTwo PointersGreedySorting+2
LeetCode ↗52% acc.
4
HardWord Ladder✓ Our Solution
94
Hash TableStringBreadth-First Search
LeetCode ↗43% acc.
5
MediumCourse Schedule II✓ Our Solution
89
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗53% acc.
6
HardMaking A Large Island✓ Our Solution
89
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗55% acc.
7
HardWord Break II✓ Our Solution
89
ArrayHash TableStringDynamic Programming+3
LeetCode ↗54% acc.
8
MediumDesign Log Storage System
89
Hash TableStringDesignOrdered Set
LeetCode ↗59% acc.
9
MediumNumber of Islands✓ Our Solution
87
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
10
MediumValid Sudoku✓ Our Solution
85
ArrayHash TableMatrix
LeetCode ↗62% acc.
11
MediumNumber of Distinct Islands
85
Hash TableDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
12
MediumOne Edit Distance
85
Two PointersString
LeetCode ↗34% acc.
13
MediumMin Stack✓ Our Solution
85
StackDesign
LeetCode ↗56% acc.
14
HardBus Routes✓ Our Solution
85
ArrayHash TableBreadth-First Search
LeetCode ↗47% acc.
15
HardAlien Dictionary
85
ArrayStringDepth-First SearchBreadth-First Search+2
LeetCode ↗37% acc.
16
HardBurst Balloons✓ Our Solution
83
ArrayDynamic Programming
LeetCode ↗61% acc.
17
EasyClosest Binary Search Tree Value
83
Binary SearchTreeDepth-First SearchBinary Search Tree+1
LeetCode ↗50% acc.
18
MediumGame of Life✓ Our Solution
83
ArrayMatrixSimulation
LeetCode ↗71% acc.
19
HardBricks Falling When Hit✓ Our Solution
83
ArrayUnion FindMatrix
LeetCode ↗36% acc.
20
EasyPower of Two✓ Our Solution
83
MathBit ManipulationRecursion
LeetCode ↗48% acc.
21
HardLeast Operators to Express Number✓ Our Solution
83
MathDynamic ProgrammingMemoization
LeetCode ↗48% acc.
22
MediumCombination Sum IV✓ Our Solution
83
ArrayDynamic Programming
LeetCode ↗55% acc.
23
MediumLargest Merge Of Two Strings✓ Our Solution
83
Two PointersStringGreedy
LeetCode ↗51% acc.
24
HardFrog Jump✓ Our Solution
83
ArrayDynamic Programming
LeetCode ↗47% acc.
25
MediumTernary Expression Parser
83
StringStackRecursion
LeetCode ↗62% acc.
26
MediumString Compression✓ Our Solution
83
Two PointersString
LeetCode ↗58% acc.
27
HardWord Abbreviation
83
ArrayStringGreedyTrie+1
LeetCode ↗62% acc.
28
MediumBinary Tree Vertical Order Traversal
83
Hash TableTreeDepth-First SearchBreadth-First Search+2
LeetCode ↗57% acc.
29
MediumRemove K Digits✓ Our Solution
83
StringStackGreedyMonotonic Stack
LeetCode ↗35% acc.
30
MediumCombination Sum II✓ Our Solution
83
ArrayBacktracking
LeetCode ↗58% acc.
31
EasyReverse Linked List✓ Our Solution
83
Linked ListRecursion
LeetCode ↗79% acc.
32
HardWildcard Matching✓ Our Solution
83
StringDynamic ProgrammingGreedyRecursion
LeetCode ↗30% acc.
33
MediumReverse Words in a String✓ Our Solution
83
Two PointersString
LeetCode ↗52% acc.
34
HardSudoku Solver✓ Our Solution
83
ArrayHash TableBacktrackingMatrix
LeetCode ↗64% acc.
35
MediumCombination Sum✓ Our Solution
83
ArrayBacktracking
LeetCode ↗75% acc.
36
MediumUnique Binary Search Trees✓ Our Solution
83
MathDynamic ProgrammingTreeBinary Search Tree+1
LeetCode ↗62% acc.
37
MediumBasic Calculator II✓ Our Solution
77
MathStringStack
LeetCode ↗46% acc.
38
MediumWord Search✓ Our Solution
70
ArrayStringBacktrackingDepth-First Search+1
LeetCode ↗45% acc.
39
MediumCheapest Flights Within K Stops✓ Our Solution
70
Dynamic ProgrammingDepth-First SearchBreadth-First SearchGraph+2
LeetCode ↗40% acc.
40
HardShortest Path in a Grid with Obstacles Elimination✓ Our Solution
70
ArrayBreadth-First SearchMatrix
LeetCode ↗46% acc.
41
MediumDecode Ways✓ Our Solution
65
StringDynamic Programming
LeetCode ↗37% acc.
42
HardValid Arrangement of Pairs✓ Our Solution
65
Depth-First SearchGraphEulerian Circuit
LeetCode ↗66% acc.
43
HardBest Time to Buy and Sell Stock III✓ Our Solution
65
ArrayDynamic Programming
LeetCode ↗51% acc.
44
MediumInsert Delete GetRandom O(1)✓ Our Solution
60
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
45
MediumEvaluate Division✓ Our Solution
60
ArrayStringDepth-First SearchBreadth-First Search+3
LeetCode ↗63% acc.
46
MediumMerge Intervals✓ Our Solution
60
ArraySorting
LeetCode ↗49% acc.
47
MediumScore of Parentheses✓ Our Solution
60
StringStack
LeetCode ↗64% acc.
48
MediumAmount of Time for Binary Tree to Be Infected✓ Our Solution
60
Hash TableTreeDepth-First SearchBreadth-First Search+1
LeetCode ↗64% acc.
49
HardDesign a Text Editor✓ Our Solution
60
Linked ListStringStackDesign+2
LeetCode ↗47% acc.
50
HardParallel Courses III✓ Our Solution
60
ArrayDynamic ProgrammingGraphTopological Sort
LeetCode ↗67% acc.
51
HardNumber of Islands II
60
ArrayHash TableUnion Find
LeetCode ↗40% acc.
52
MediumMinimum Number of Keypresses
60
Hash TableStringGreedySorting+1
LeetCode ↗71% acc.
53
HardMinimum Time to Complete All Tasks✓ Our Solution
60
ArrayBinary SearchStackGreedy+1
LeetCode ↗38% acc.
54
MediumK Closest Points to Origin✓ Our Solution
52
ArrayMathDivide and ConquerGeometry+3
LeetCode ↗68% acc.
55
MediumShortest Bridge✓ Our Solution
52
ArrayDepth-First SearchBreadth-First SearchMatrix
LeetCode ↗59% acc.
56
MediumGroup Anagrams✓ Our Solution
52
ArrayHash TableStringSorting
LeetCode ↗71% acc.
57
HardBasic Calculator III
52
MathStringStackRecursion
LeetCode ↗52% acc.
58
MediumAccounts Merge✓ Our Solution
52
ArrayHash TableStringDepth-First Search+3
LeetCode ↗60% acc.
59
HardMedian of Two Sorted Arrays✓ Our Solution
52
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
60
MediumProduct of Array Except Self✓ Our Solution
52
ArrayPrefix Sum
LeetCode ↗68% acc.
61
MediumFind Peak Element✓ Our Solution
52
ArrayBinary Search
LeetCode ↗47% acc.
62
MediumJump Game III✓ Our Solution
52
ArrayDepth-First SearchBreadth-First Search
LeetCode ↗66% acc.
63
EasyMerge Two Sorted Lists✓ Our Solution
52
Linked ListRecursion
LeetCode ↗67% acc.
64
MediumMax Consecutive Ones III✓ Our Solution
52
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗66% acc.
65
MediumEdit Distance✓ Our Solution
52
StringDynamic Programming
LeetCode ↗59% acc.
66
MediumMinimum Remove to Make Valid Parentheses✓ Our Solution
52
StringStack
LeetCode ↗71% acc.
67
MediumTop K Frequent Elements✓ Our Solution
52
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
68
HardBinary Tree Maximum Path Sum✓ Our Solution
52
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗41% acc.
69
MediumCourse Schedule✓ Our Solution
52
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
70
HardReconstruct Itinerary✓ Our Solution
52
Depth-First SearchGraphEulerian Circuit
LeetCode ↗44% acc.
71
MediumMinimum Area Rectangle✓ Our Solution
42
ArrayHash TableMathGeometry+1
LeetCode ↗55% acc.
72
HardShortest Distance from All Buildings
42
ArrayBreadth-First SearchMatrix
LeetCode ↗44% acc.
73
MediumSearch a 2D Matrix II✓ Our Solution
42
ArrayBinary SearchDivide and ConquerMatrix
LeetCode ↗55% acc.
74
EasyVerifying an Alien Dictionary✓ Our Solution
42
ArrayHash TableString
LeetCode ↗56% acc.
75
EasyBest Time to Buy and Sell Stock✓ Our Solution
42
ArrayDynamic Programming
LeetCode ↗55% acc.
76
MediumLongest String Chain✓ Our Solution
42
ArrayHash TableTwo PointersString+2
LeetCode ↗62% acc.
77
MediumCar Fleet✓ Our Solution
42
ArrayStackSortingMonotonic Stack
LeetCode ↗53% acc.
78
MediumKnight Dialer✓ Our Solution
42
Dynamic Programming
LeetCode ↗61% acc.
79
MediumSearch a 2D Matrix✓ Our Solution
42
ArrayBinary SearchMatrix
LeetCode ↗52% acc.
80
MediumThe Maze
42
ArrayDepth-First SearchBreadth-First SearchMatrix
LeetCode ↗60% acc.
81
MediumNested List Weight Sum
42
Depth-First SearchBreadth-First Search
LeetCode ↗86% acc.
82
MediumReorder Data in Log Files✓ Our Solution
42
ArrayStringSorting
LeetCode ↗57% acc.
83
HardMax Stack
42
Linked ListStackDesignDoubly-Linked List+1
LeetCode ↗46% acc.
84
MediumMovie Rating✓ Our Solution
42
Database
LeetCode ↗42% acc.
85
MediumRandom Pick with Weight✓ Our Solution
42
ArrayMathBinary SearchPrefix Sum+1
LeetCode ↗48% acc.
86
MediumSubarray Sum Equals K✓ Our Solution
42
ArrayHash TablePrefix Sum
LeetCode ↗45% acc.
87
MediumMaximize Distance to Closest Person✓ Our Solution
42
Array
LeetCode ↗49% acc.
88
MediumSearch Suggestions System✓ Our Solution
42
ArrayStringBinary SearchTrie+2
LeetCode ↗65% acc.
89
HardMinimum Number of Refueling Stops✓ Our Solution
42
ArrayDynamic ProgrammingGreedyHeap (Priority Queue)
LeetCode ↗41% acc.
90
MediumFlip String to Monotone Increasing✓ Our Solution
42
StringDynamic Programming
LeetCode ↗62% acc.
91
MediumMinimum Cost For Tickets✓ Our Solution
42
ArrayDynamic Programming
LeetCode ↗67% acc.
92
MediumMinimize Result by Adding Parentheses to Expression✓ Our Solution
42
StringEnumeration
LeetCode ↗68% acc.
93
HardBuild Binary Expression Tree From Infix Expression
42
StringStackTreeBinary Tree
LeetCode ↗62% acc.
94
EasyComplement of Base 10 Integer✓ Our Solution
42
Bit Manipulation
LeetCode ↗61% acc.
95
HardMaximum Frequency Stack✓ Our Solution
42
Hash TableStackDesignOrdered Set
LeetCode ↗66% acc.
96
MediumCustom Sort String✓ Our Solution
42
Hash TableStringSorting
LeetCode ↗72% acc.
97
MediumDesign Browser History✓ Our Solution
42
ArrayLinked ListStackDesign+2
LeetCode ↗78% acc.
98
HardLongest Increasing Path in a Matrix✓ Our Solution
42
ArrayDynamic ProgrammingDepth-First SearchBreadth-First Search+4
LeetCode ↗55% acc.
99
MediumExclusive Time of Functions✓ Our Solution
42
ArrayStack
LeetCode ↗65% acc.
100
MediumMaximum Subarray✓ Our Solution
42
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.