S

Snowflake

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

Showing 90 of 90 questions

1
HardDesign In-Memory File System
100
Hash TableStringDesignTrie+1
LeetCode ↗48% acc.
2
EasyHappy Number✓ Our Solution
94
Hash TableMathTwo Pointers
LeetCode ↗58% acc.
3
HardMinimum Window Substring✓ Our Solution
92
Hash TableStringSliding Window
LeetCode ↗45% acc.
4
MediumCourse Schedule II✓ Our Solution
92
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗53% acc.
5
MediumFind All Anagrams in a String✓ Our Solution
90
Hash TableStringSliding Window
LeetCode ↗52% acc.
6
HardWord Search II✓ Our Solution
90
ArrayStringBacktrackingTrie+1
LeetCode ↗37% acc.
7
HardString Transformation✓ Our Solution
89
MathStringDynamic ProgrammingString Matching
LeetCode ↗25% acc.
8
MediumStep-By-Step Directions From a Binary Tree Node to Another✓ Our Solution
83
StringTreeDepth-First SearchBinary Tree
LeetCode ↗56% acc.
9
EasyCalculate Amount Paid in Taxes✓ Our Solution
83
ArraySimulation
LeetCode ↗68% acc.
10
MediumMaximum Number of Upgradable Servers
82
ArrayMathBinary Search
LeetCode ↗41% acc.
11
HardTrapping Rain Water✓ Our Solution
80
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
12
HardMaximum Profit in Job Scheduling✓ Our Solution
80
ArrayBinary SearchDynamic ProgrammingSorting
LeetCode ↗54% acc.
13
HardPainting the Walls✓ Our Solution
80
ArrayDynamic Programming
LeetCode ↗49% acc.
14
MediumMinimum Array Length After Pair Removals✓ Our Solution
78
ArrayHash TableTwo PointersBinary Search+2
LeetCode ↗25% acc.
15
HardNumber of Ways to Form a Target String Given a Dictionary✓ Our Solution
78
ArrayStringDynamic Programming
LeetCode ↗57% acc.
16
MediumFind the Maximum Length of a Good Subsequence I✓ Our Solution
78
ArrayHash TableDynamic Programming
LeetCode ↗32% acc.
17
HardParallel Courses III✓ Our Solution
78
ArrayDynamic ProgrammingGraphTopological Sort
LeetCode ↗67% acc.
18
HardFind the Maximum Length of a Good Subsequence II✓ Our Solution
76
ArrayHash TableDynamic Programming
LeetCode ↗24% acc.
19
HardBasic Calculator✓ Our Solution
73
MathStringStackRecursion
LeetCode ↗46% acc.
20
HardRegular Expression Matching✓ Our Solution
68
StringDynamic ProgrammingRecursion
LeetCode ↗29% acc.
21
MediumThrone Inheritance✓ Our Solution
68
Hash TableTreeDepth-First SearchDesign
LeetCode ↗65% acc.
22
EasyCount Vowel Substrings of a String✓ Our Solution
68
Hash TableString
LeetCode ↗71% acc.
23
MediumBoundary of Binary Tree
68
TreeDepth-First SearchBinary Tree
LeetCode ↗47% acc.
24
MediumDesign Hit Counter
64
ArrayBinary SearchDesignQueue+1
LeetCode ↗69% acc.
25
HardReverse Nodes in k-Group✓ Our Solution
64
Linked ListRecursion
LeetCode ↗63% acc.
26
MediumTime Based Key-Value Store✓ Our Solution
64
Hash TableStringBinary SearchDesign
LeetCode ↗49% acc.
27
EasyTwo Sum✓ Our Solution
64
ArrayHash Table
LeetCode ↗56% acc.
28
MediumPopulating Next Right Pointers in Each Node II✓ Our Solution
64
Linked ListTreeDepth-First SearchBreadth-First Search+1
LeetCode ↗56% acc.
29
EasyMerge Two Sorted Lists✓ Our Solution
60
Linked ListRecursion
LeetCode ↗67% acc.
30
MediumMax Area of Island✓ Our Solution
60
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗73% acc.
31
MediumPopulating Next Right Pointers in Each Node✓ Our Solution
60
Linked ListTreeDepth-First SearchBreadth-First Search+1
LeetCode ↗65% acc.
32
MediumCopy List with Random Pointer✓ Our Solution
60
Hash TableLinked List
LeetCode ↗61% acc.
33
MediumEncode and Decode Strings
60
ArrayStringDesign
LeetCode ↗50% acc.
34
MediumTask Scheduler✓ Our Solution
60
ArrayHash TableGreedySorting+2
LeetCode ↗62% acc.
35
MediumCourse Schedule✓ Our Solution
60
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
36
EasyDesign HashMap✓ Our Solution
60
ArrayHash TableLinked ListDesign+1
LeetCode ↗66% acc.
37
HardSliding Window Median✓ Our Solution
55
ArrayHash TableSliding WindowHeap (Priority Queue)
LeetCode ↗39% acc.
38
MediumLRU Cache✓ Our Solution
55
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
39
HardMerge k Sorted Lists✓ Our Solution
55
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
40
MediumMin Stack✓ Our Solution
55
StackDesign
LeetCode ↗56% acc.
41
MediumBasic Calculator II✓ Our Solution
55
MathStringStack
LeetCode ↗46% acc.
42
MediumSwap Nodes in Pairs✓ Our Solution
55
Linked ListRecursion
LeetCode ↗67% acc.
43
HardInteger to English Words✓ Our Solution
55
MathStringRecursion
LeetCode ↗34% acc.
44
HardPatching Array✓ Our Solution
55
ArrayGreedy
LeetCode ↗54% acc.
45
MediumGraph Valid Tree
55
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗49% acc.
46
HardCount Subarrays With Fixed Bounds✓ Our Solution
49
ArrayQueueSliding WindowMonotonic Queue
LeetCode ↗69% acc.
47
MediumRandom Pick with Weight✓ Our Solution
49
ArrayMathBinary SearchPrefix Sum+1
LeetCode ↗48% acc.
48
MediumImplement Trie (Prefix Tree)✓ Our Solution
49
Hash TableStringDesignTrie
LeetCode ↗68% acc.
49
MediumLongest Univalue Path✓ Our Solution
49
TreeDepth-First SearchBinary Tree
LeetCode ↗43% acc.
50
MediumMaximize Distance to Closest Person✓ Our Solution
49
Array
LeetCode ↗49% acc.
51
HardN-Queens II✓ Our Solution
49
Backtracking
LeetCode ↗77% acc.
52
MediumMerge Intervals✓ Our Solution
49
ArraySorting
LeetCode ↗49% acc.
53
MediumMaximum Profit From Trading Stocks
49
ArrayDynamic Programming
LeetCode ↗47% acc.
54
HardFind Median from Data Stream✓ Our Solution
49
Two PointersDesignSortingHeap (Priority Queue)+1
LeetCode ↗53% acc.
55
MediumRemove Sub-Folders from the Filesystem✓ Our Solution
49
ArrayStringDepth-First SearchTrie
LeetCode ↗76% acc.
56
MediumInsert Delete GetRandom O(1)✓ Our Solution
49
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
57
HardMinimum Operations to Make Numbers Non-positive
49
ArrayBinary Search
LeetCode ↗42% acc.
58
MediumContainer With Most Water✓ Our Solution
49
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
59
MediumCheapest Flights Within K Stops✓ Our Solution
49
Dynamic ProgrammingDepth-First SearchBreadth-First SearchGraph+2
LeetCode ↗40% acc.
60
MediumRemove K Digits✓ Our Solution
49
StringStackGreedyMonotonic Stack
LeetCode ↗35% acc.
61
MediumCount Nodes Equal to Average of Subtree✓ Our Solution
49
TreeDepth-First SearchBinary Tree
LeetCode ↗86% acc.
62
MediumWalls and Gates
40
ArrayBreadth-First SearchMatrix
LeetCode ↗63% acc.
63
EasyBest Time to Buy and Sell Stock✓ Our Solution
40
ArrayDynamic Programming
LeetCode ↗55% acc.
64
MediumSimplify Path✓ Our Solution
40
StringStack
LeetCode ↗48% acc.
65
MediumParallel Courses
40
GraphTopological Sort
LeetCode ↗62% acc.
66
HardN-Queens✓ Our Solution
40
ArrayBacktracking
LeetCode ↗73% acc.
67
MediumSingle Element in a Sorted Array✓ Our Solution
40
ArrayBinary Search
LeetCode ↗59% acc.
68
EasyRoman to Integer✓ Our Solution
40
Hash TableMathString
LeetCode ↗65% acc.
69
MediumTop K Frequent Elements✓ Our Solution
40
ArrayHash TableDivide and ConquerSorting+4
LeetCode ↗65% acc.
70
MediumMaximum Number of Events That Can Be Attended✓ Our Solution
40
ArrayGreedySortingHeap (Priority Queue)
LeetCode ↗33% acc.
71
MediumPath With Minimum Effort✓ Our Solution
40
ArrayBinary SearchDepth-First SearchBreadth-First Search+3
LeetCode ↗61% acc.
72
MediumDesign Add and Search Words Data Structure✓ Our Solution
40
StringDepth-First SearchDesignTrie
LeetCode ↗47% acc.
73
HardMaking A Large Island✓ Our Solution
40
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗55% acc.
74
MediumNon-overlapping Intervals✓ Our Solution
40
ArrayDynamic ProgrammingGreedySorting
LeetCode ↗56% acc.
75
MediumMaximum Number of Removable Characters✓ Our Solution
40
ArrayTwo PointersStringBinary Search
LeetCode ↗46% acc.
76
EasyValid Word Abbreviation
40
Two PointersString
LeetCode ↗37% acc.
77
MediumSnapshot Array✓ Our Solution
40
ArrayHash TableBinary SearchDesign
LeetCode ↗37% acc.
78
MediumMost Profitable Path in a Tree✓ Our Solution
40
ArrayTreeDepth-First SearchBreadth-First Search+1
LeetCode ↗68% acc.
79
MediumLongest Substring Without Repeating Characters✓ Our Solution
40
Hash TableStringSliding Window
LeetCode ↗37% acc.
80
MediumConstruct Binary Tree from Preorder and Inorder Traversal✓ Our Solution
40
ArrayHash TableDivide and ConquerTree+1
LeetCode ↗67% acc.
81
MediumWord Break✓ Our Solution
40
ArrayHash TableStringDynamic Programming+2
LeetCode ↗48% acc.
82
EasyLeaf-Similar Trees✓ Our Solution
40
TreeDepth-First SearchBinary Tree
LeetCode ↗70% acc.
83
HardRemove Invalid Parentheses✓ Our Solution
40
StringBacktrackingBreadth-First Search
LeetCode ↗49% acc.
84
MediumEvaluate Division✓ Our Solution
40
ArrayStringDepth-First SearchBreadth-First Search+3
LeetCode ↗63% acc.
85
MediumRange Sum Query 2D - Immutable✓ Our Solution
40
ArrayDesignMatrixPrefix Sum
LeetCode ↗57% acc.
86
MediumMeeting Rooms II
40
ArrayTwo PointersGreedySorting+2
LeetCode ↗52% acc.
87
HardCherry Pickup✓ Our Solution
40
ArrayDynamic ProgrammingMatrix
LeetCode ↗38% acc.
88
MediumNumber of Islands✓ Our Solution
40
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
89
MediumSwapping Nodes in a Linked List✓ Our Solution
40
Linked ListTwo Pointers
LeetCode ↗68% acc.
90
EasyReverse Only Letters✓ Our Solution
40
Two PointersString
LeetCode ↗67% acc.