T

TikTok

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

Showing 100 of 100 questions

1
MediumLRU Cache✓ Our Solution
96
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
2
MediumMerge Intervals✓ Our Solution
90
ArraySorting
LeetCode ↗49% acc.
3
MediumLongest Substring Without Repeating Characters✓ Our Solution
85
Hash TableStringSliding Window
LeetCode ↗37% acc.
4
HardTrapping Rain Water✓ Our Solution
82
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
5
HardMerge k Sorted Lists✓ Our Solution
77
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
6
HardMinimum Window Substring✓ Our Solution
77
Hash TableStringSliding Window
LeetCode ↗45% acc.
7
MediumWord Search✓ Our Solution
76
ArrayStringBacktrackingDepth-First Search+1
LeetCode ↗45% acc.
8
MediumSearch in Rotated Sorted Array✓ Our Solution
75
ArrayBinary Search
LeetCode ↗43% acc.
9
MediumLongest Palindromic Substring✓ Our Solution
73
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
10
HardN-Queens✓ Our Solution
73
ArrayBacktracking
LeetCode ↗73% acc.
11
MediumRestore IP Addresses✓ Our Solution
72
StringBacktracking
LeetCode ↗53% acc.
12
71
ArrayTwo PointersSorting
LeetCode ↗37% acc.
13
MediumCombination Sum✓ Our Solution
71
ArrayBacktracking
LeetCode ↗75% acc.
14
HardWord Ladder✓ Our Solution
70
Hash TableStringBreadth-First Search
LeetCode ↗43% acc.
15
EasySqrt(x)✓ Our Solution
69
MathBinary Search
LeetCode ↗40% acc.
16
EasyBest Time to Buy and Sell Stock✓ Our Solution
67
ArrayDynamic Programming
LeetCode ↗55% acc.
17
HardText Justification✓ Our Solution
67
ArrayStringSimulation
LeetCode ↗48% acc.
18
EasyValid Parentheses✓ Our Solution
66
StringStack
LeetCode ↗42% acc.
19
HardBinary Tree Maximum Path Sum✓ Our Solution
65
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗41% acc.
20
MediumSort Colors✓ Our Solution
65
ArrayTwo PointersSorting
LeetCode ↗68% acc.
21
MediumFind Peak Element✓ Our Solution
65
ArrayBinary Search
LeetCode ↗47% acc.
22
MediumSpiral Matrix✓ Our Solution
65
ArrayMatrixSimulation
LeetCode ↗54% acc.
23
EasyTwo Sum✓ Our Solution
65
ArrayHash Table
LeetCode ↗56% acc.
24
HardWord Break II✓ Our Solution
63
ArrayHash TableStringDynamic Programming+3
LeetCode ↗54% acc.
25
MediumConstruct Binary Tree from Preorder and Inorder Traversal✓ Our Solution
63
ArrayHash TableDivide and ConquerTree+1
LeetCode ↗67% acc.
26
MediumCombination Sum II✓ Our Solution
61
ArrayBacktracking
LeetCode ↗58% acc.
27
MediumPermutations✓ Our Solution
61
ArrayBacktracking
LeetCode ↗81% acc.
28
MediumGenerate Parentheses✓ Our Solution
61
StringDynamic ProgrammingBacktracking
LeetCode ↗77% acc.
29
MediumMaximum Subarray✓ Our Solution
61
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
30
MediumEdit Distance✓ Our Solution
61
StringDynamic Programming
LeetCode ↗59% acc.
31
MediumFind First and Last Position of Element in Sorted Array✓ Our Solution
60
ArrayBinary Search
LeetCode ↗47% acc.
32
MediumContainer With Most Water✓ Our Solution
58
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
33
HardReverse Nodes in k-Group✓ Our Solution
58
Linked ListRecursion
LeetCode ↗63% acc.
34
HardRegular Expression Matching✓ Our Solution
58
StringDynamic ProgrammingRecursion
LeetCode ↗29% acc.
35
MediumWord Break✓ Our Solution
58
ArrayHash TableStringDynamic Programming+2
LeetCode ↗48% acc.
36
MediumLongest Consecutive Sequence✓ Our Solution
56
ArrayHash TableUnion Find
LeetCode ↗47% acc.
37
MediumBest Time to Buy and Sell Stock II✓ Our Solution
56
ArrayDynamic ProgrammingGreedy
LeetCode ↗70% acc.
38
MediumJump Game✓ Our Solution
56
ArrayDynamic ProgrammingGreedy
LeetCode ↗39% acc.
39
MediumSubsets✓ Our Solution
53
ArrayBacktrackingBit Manipulation
LeetCode ↗81% acc.
40
MediumDecode Ways✓ Our Solution
53
StringDynamic Programming
LeetCode ↗37% acc.
41
MediumGroup Anagrams✓ Our Solution
53
ArrayHash TableStringSorting
LeetCode ↗71% acc.
42
EasyMerge Sorted Array✓ Our Solution
53
ArrayTwo PointersSorting
LeetCode ↗53% acc.
43
MediumReorder List✓ Our Solution
51
Linked ListTwo PointersStackRecursion
LeetCode ↗63% acc.
44
MediumUnique Binary Search Trees✓ Our Solution
51
MathDynamic ProgrammingTreeBinary Search Tree+1
LeetCode ↗62% acc.
45
EasyLongest Common Prefix✓ Our Solution
51
StringTrie
LeetCode ↗45% acc.
46
MediumValidate Binary Search Tree✓ Our Solution
51
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.
47
MediumNext Permutation✓ Our Solution
51
ArrayTwo Pointers
LeetCode ↗43% acc.
48
MediumInteger to Roman✓ Our Solution
48
Hash TableMathString
LeetCode ↗69% acc.
49
MediumMinimum Path Sum✓ Our Solution
48
ArrayDynamic ProgrammingMatrix
LeetCode ↗66% acc.
50
HardParallel Courses III✓ Our Solution
48
ArrayDynamic ProgrammingGraphTopological Sort
LeetCode ↗67% acc.
51
HardMedian of Two Sorted Arrays✓ Our Solution
48
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
52
MediumSurrounded Regions✓ Our Solution
48
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗43% acc.
53
MediumSort List✓ Our Solution
48
Linked ListTwo PointersDivide and ConquerSorting+1
LeetCode ↗62% acc.
54
MediumPermutations II✓ Our Solution
48
ArrayBacktrackingSorting
LeetCode ↗62% acc.
55
MediumFind All Possible Recipes from Given Supplies✓ Our Solution
48
ArrayHash TableStringGraph+1
LeetCode ↗56% acc.
56
MediumReverse Words in a String✓ Our Solution
44
Two PointersString
LeetCode ↗52% acc.
57
MediumMaximum Product Subarray✓ Our Solution
44
ArrayDynamic Programming
LeetCode ↗35% acc.
58
MediumBinary Tree Level Order Traversal✓ Our Solution
44
TreeBreadth-First SearchBinary Tree
LeetCode ↗71% acc.
59
MediumFind Minimum in Rotated Sorted Array✓ Our Solution
44
ArrayBinary Search
LeetCode ↗53% acc.
60
MediumReverse Linked List II✓ Our Solution
44
Linked List
LeetCode ↗50% acc.
61
MediumLongest Substring with At Most Two Distinct Characters
44
Hash TableStringSliding Window
LeetCode ↗56% acc.
62
MediumCompare Version Numbers✓ Our Solution
44
Two PointersString
LeetCode ↗42% acc.
63
MediumStep-By-Step Directions From a Binary Tree Node to Another✓ Our Solution
44
StringTreeDepth-First SearchBinary Tree
LeetCode ↗56% acc.
64
HardLongest Valid Parentheses✓ Our Solution
44
StringDynamic ProgrammingStack
LeetCode ↗36% acc.
65
MediumAdd Two Numbers✓ Our Solution
44
Linked ListMathRecursion
LeetCode ↗46% acc.
66
EasyClimbing Stairs✓ Our Solution
44
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.
67
EasyIntersection of Two Linked Lists✓ Our Solution
40
Hash TableLinked ListTwo Pointers
LeetCode ↗61% acc.
68
EasyMissing Ranges
40
Array
LeetCode ↗35% acc.
69
MediumMultiply Strings✓ Our Solution
40
MathStringSimulation
LeetCode ↗42% acc.
70
MediumJump Game II✓ Our Solution
40
ArrayDynamic ProgrammingGreedy
LeetCode ↗42% acc.
71
MediumFraction to Recurring Decimal✓ Our Solution
40
Hash TableMathString
LeetCode ↗26% acc.
72
HardDistinct Subsequences✓ Our Solution
40
StringDynamic Programming
LeetCode ↗50% acc.
73
EasyMerge Two Sorted Lists✓ Our Solution
40
Linked ListRecursion
LeetCode ↗67% acc.
74
MediumSimplify Path✓ Our Solution
35
StringStack
LeetCode ↗48% acc.
75
EasyFind Target Indices After Sorting Array✓ Our Solution
35
ArrayBinary SearchSorting
LeetCode ↗77% acc.
76
MediumPow(x, n)✓ Our Solution
35
MathRecursion
LeetCode ↗37% acc.
77
HardBest Time to Buy and Sell Stock III✓ Our Solution
35
ArrayDynamic Programming
LeetCode ↗51% acc.
78
HardWord Ladder II✓ Our Solution
35
Hash TableStringBacktrackingBreadth-First Search
LeetCode ↗27% acc.
79
EasyValid Palindrome✓ Our Solution
35
Two PointersString
LeetCode ↗51% acc.
80
MediumSpiral Matrix II✓ Our Solution
35
ArrayMatrixSimulation
LeetCode ↗73% acc.
81
MediumRemove Duplicates from Sorted Array II✓ Our Solution
35
ArrayTwo Pointers
LeetCode ↗63% acc.
82
MediumPath Sum II✓ Our Solution
35
BacktrackingTreeDepth-First SearchBinary Tree
LeetCode ↗60% acc.
83
MediumBinary Tree Zigzag Level Order Traversal✓ Our Solution
35
TreeBreadth-First SearchBinary Tree
LeetCode ↗62% acc.
84
MediumInsert Interval✓ Our Solution
35
Array
LeetCode ↗43% acc.
85
29
ArrayTwo PointersSorting
LeetCode ↗38% acc.
86
MediumLinked List Cycle II✓ Our Solution
29
Hash TableLinked ListTwo Pointers
LeetCode ↗55% acc.
87
EasyPlus One✓ Our Solution
29
ArrayMath
LeetCode ↗48% acc.
88
MediumSwap Nodes in Pairs✓ Our Solution
29
Linked ListRecursion
LeetCode ↗67% acc.
89
EasyPath Sum✓ Our Solution
29
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗53% acc.
90
HardMaximal Rectangle✓ Our Solution
29
ArrayDynamic ProgrammingStackMatrix+1
LeetCode ↗54% acc.
91
MediumValid Sudoku✓ Our Solution
29
ArrayHash TableMatrix
LeetCode ↗62% acc.
92
MediumInterleaving String✓ Our Solution
21
StringDynamic Programming
LeetCode ↗42% acc.
93
MediumClone Graph✓ Our Solution
21
Hash TableDepth-First SearchBreadth-First SearchGraph
LeetCode ↗62% acc.
94
MediumRecover Binary Search Tree✓ Our Solution
21
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗56% acc.
95
MediumSubsets II✓ Our Solution
21
ArrayBacktrackingBit Manipulation
LeetCode ↗60% acc.
96
HardValid Number✓ Our Solution
21
String
LeetCode ↗22% acc.
97
MediumUnique Paths✓ Our Solution
21
MathDynamic ProgrammingCombinatorics
LeetCode ↗66% acc.
98
MediumDivide Two Integers✓ Our Solution
21
MathBit Manipulation
LeetCode ↗18% acc.
99
HardFirst Missing Positive✓ Our Solution
21
ArrayHash Table
LeetCode ↗41% acc.
100
MediumSum of Subarray Ranges✓ Our Solution
21
ArrayStackMonotonic Stack
LeetCode ↗60% acc.