Y

Yahoo

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

Showing 100 of 100 questions

1
EasyTwo Sum✓ Our Solution
100
ArrayHash Table
LeetCode ↗56% acc.
2
MediumLongest Substring Without Repeating Characters✓ Our Solution
76
Hash TableStringSliding Window
LeetCode ↗37% acc.
3
MediumContainer With Most Water✓ Our Solution
74
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
4
EasyRoman to Integer✓ Our Solution
73
Hash TableMathString
LeetCode ↗65% acc.
5
EasyMaximum Depth of Binary Tree✓ Our Solution
72
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗77% acc.
6
HardMedian of Two Sorted Arrays✓ Our Solution
70
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
7
EasyRemove Duplicates from Sorted Array✓ Our Solution
70
ArrayTwo Pointers
LeetCode ↗60% acc.
8
70
ArrayTwo PointersSorting
LeetCode ↗37% acc.
9
MediumAdd Two Numbers✓ Our Solution
69
Linked ListMathRecursion
LeetCode ↗46% acc.
10
EasyMerge Sorted Array✓ Our Solution
69
ArrayTwo PointersSorting
LeetCode ↗53% acc.
11
MediumLRU Cache✓ Our Solution
68
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
12
MediumLongest Palindromic Substring✓ Our Solution
68
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
13
MediumRotate Image✓ Our Solution
65
ArrayMathMatrix
LeetCode ↗78% acc.
14
MediumWord Break✓ Our Solution
65
ArrayHash TableStringDynamic Programming+2
LeetCode ↗48% acc.
15
EasyBest Time to Buy and Sell Stock✓ Our Solution
65
ArrayDynamic Programming
LeetCode ↗55% acc.
16
EasyMerge Two Sorted Lists✓ Our Solution
63
Linked ListRecursion
LeetCode ↗67% acc.
17
EasyValid Parentheses✓ Our Solution
63
StringStack
LeetCode ↗42% acc.
18
EasyLinked List Cycle✓ Our Solution
63
Hash TableLinked ListTwo Pointers
LeetCode ↗53% acc.
19
EasyClimbing Stairs✓ Our Solution
63
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.
20
EasyLongest Common Prefix✓ Our Solution
63
StringTrie
LeetCode ↗45% acc.
21
EasyPalindrome Number✓ Our Solution
63
Math
LeetCode ↗59% acc.
22
MediumMerge Intervals✓ Our Solution
61
ArraySorting
LeetCode ↗49% acc.
23
MediumGenerate Parentheses✓ Our Solution
61
StringDynamic ProgrammingBacktracking
LeetCode ↗77% acc.
24
MediumJump Game✓ Our Solution
59
ArrayDynamic ProgrammingGreedy
LeetCode ↗39% acc.
25
MediumSpiral Matrix✓ Our Solution
57
ArrayMatrixSimulation
LeetCode ↗54% acc.
26
MediumGroup Anagrams✓ Our Solution
54
ArrayHash TableStringSorting
LeetCode ↗71% acc.
27
HardTrapping Rain Water✓ Our Solution
54
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
28
EasySearch Insert Position✓ Our Solution
54
ArrayBinary Search
LeetCode ↗49% acc.
29
EasyRemove Element✓ Our Solution
54
ArrayTwo Pointers
LeetCode ↗60% acc.
30
MediumCombination Sum✓ Our Solution
52
ArrayBacktracking
LeetCode ↗75% acc.
31
EasyPlus One✓ Our Solution
52
ArrayMath
LeetCode ↗48% acc.
32
EasyFind the Index of the First Occurrence in a String✓ Our Solution
52
Two PointersStringString Matching
LeetCode ↗45% acc.
33
MediumCount and Say✓ Our Solution
52
String
LeetCode ↗61% acc.
34
MediumReverse Integer✓ Our Solution
52
Math
LeetCode ↗30% acc.
35
MediumFind First and Last Position of Element in Sorted Array✓ Our Solution
52
ArrayBinary Search
LeetCode ↗47% acc.
36
MediumSubsets✓ Our Solution
52
ArrayBacktrackingBit Manipulation
LeetCode ↗81% acc.
37
EasySqrt(x)✓ Our Solution
48
MathBinary Search
LeetCode ↗40% acc.
38
MediumSet Matrix Zeroes✓ Our Solution
48
ArrayHash TableMatrix
LeetCode ↗61% acc.
39
MediumLetter Combinations of a Phone Number✓ Our Solution
48
Hash TableStringBacktracking
LeetCode ↗64% acc.
40
MediumDivide Two Integers✓ Our Solution
48
MathBit Manipulation
LeetCode ↗18% acc.
41
EasyPascal's Triangle✓ Our Solution
48
ArrayDynamic Programming
LeetCode ↗77% acc.
42
MediumMaximum Subarray✓ Our Solution
48
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
43
MediumBinary Tree Level Order Traversal✓ Our Solution
45
TreeBreadth-First SearchBinary Tree
LeetCode ↗71% acc.
44
MediumZigzag Conversion✓ Our Solution
45
String
LeetCode ↗52% acc.
45
MediumNext Permutation✓ Our Solution
45
ArrayTwo Pointers
LeetCode ↗43% acc.
46
HardRegular Expression Matching✓ Our Solution
45
StringDynamic ProgrammingRecursion
LeetCode ↗29% acc.
47
MediumPow(x, n)✓ Our Solution
45
MathRecursion
LeetCode ↗37% acc.
48
EasyValid Palindrome✓ Our Solution
45
Two PointersString
LeetCode ↗51% acc.
49
HardLargest Rectangle in Histogram✓ Our Solution
45
ArrayStackMonotonic Stack
LeetCode ↗47% acc.
50
MediumGas Station✓ Our Solution
40
ArrayGreedy
LeetCode ↗46% acc.
51
MediumSort Colors✓ Our Solution
40
ArrayTwo PointersSorting
LeetCode ↗68% acc.
52
EasyLength of Last Word✓ Our Solution
40
String
LeetCode ↗56% acc.
53
MediumSearch in Rotated Sorted Array✓ Our Solution
40
ArrayBinary Search
LeetCode ↗43% acc.
54
Medium3Sum Closest✓ Our Solution
40
ArrayTwo PointersSorting
LeetCode ↗47% acc.
55
MediumPermutations✓ Our Solution
40
ArrayBacktracking
LeetCode ↗81% acc.
56
MediumLongest Consecutive Sequence✓ Our Solution
40
ArrayHash TableUnion Find
LeetCode ↗47% acc.
57
EasySingle Number✓ Our Solution
40
ArrayBit Manipulation
LeetCode ↗76% acc.
58
MediumValidate Binary Search Tree✓ Our Solution
40
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.
59
MediumRecover Binary Search Tree✓ Our Solution
40
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗56% acc.
60
MediumSearch a 2D Matrix✓ Our Solution
40
ArrayBinary SearchMatrix
LeetCode ↗52% acc.
61
MediumMaximum Product Subarray✓ Our Solution
34
ArrayDynamic Programming
LeetCode ↗35% acc.
62
EasySymmetric Tree✓ Our Solution
34
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗59% acc.
63
MediumBest Time to Buy and Sell Stock II✓ Our Solution
34
ArrayDynamic ProgrammingGreedy
LeetCode ↗70% acc.
64
EasyBinary Tree Preorder Traversal✓ Our Solution
34
StackTreeDepth-First SearchBinary Tree
LeetCode ↗73% acc.
65
MediumUnique Paths✓ Our Solution
34
MathDynamic ProgrammingCombinatorics
LeetCode ↗66% acc.
66
MediumRemove Duplicates from Sorted Array II✓ Our Solution
34
ArrayTwo Pointers
LeetCode ↗63% acc.
67
MediumString to Integer (atoi)✓ Our Solution
34
String
LeetCode ↗19% acc.
68
MediumValid Sudoku✓ Our Solution
34
ArrayHash TableMatrix
LeetCode ↗62% acc.
69
MediumInteger to Roman✓ Our Solution
34
Hash TableMathString
LeetCode ↗69% acc.
70
34
ArrayTwo PointersSorting
LeetCode ↗38% acc.
71
MediumRemove Nth Node From End of List✓ Our Solution
34
Linked ListTwo Pointers
LeetCode ↗49% acc.
72
HardSudoku Solver✓ Our Solution
34
ArrayHash TableBacktrackingMatrix
LeetCode ↗64% acc.
73
MediumSearch in Rotated Sorted Array II✓ Our Solution
26
ArrayBinary Search
LeetCode ↗39% acc.
74
HardReverse Nodes in k-Group✓ Our Solution
26
Linked ListRecursion
LeetCode ↗63% acc.
75
MediumPalindrome Partitioning✓ Our Solution
26
StringDynamic ProgrammingBacktracking
LeetCode ↗72% acc.
76
MediumClone Graph✓ Our Solution
26
Hash TableDepth-First SearchBreadth-First SearchGraph
LeetCode ↗62% acc.
77
HardLongest Valid Parentheses✓ Our Solution
26
StringDynamic ProgrammingStack
LeetCode ↗36% acc.
78
HardMerge k Sorted Lists✓ Our Solution
26
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
79
MediumSingle Number II✓ Our Solution
26
ArrayBit Manipulation
LeetCode ↗65% acc.
80
MediumCopy List with Random Pointer✓ Our Solution
26
Hash TableLinked List
LeetCode ↗61% acc.
81
MediumReorder List✓ Our Solution
26
Linked ListTwo PointersStackRecursion
LeetCode ↗63% acc.
82
MediumSort List✓ Our Solution
26
Linked ListTwo PointersDivide and ConquerSorting+1
LeetCode ↗62% acc.
83
HardWord Ladder✓ Our Solution
26
Hash TableStringBreadth-First Search
LeetCode ↗43% acc.
84
HardN-Queens✓ Our Solution
26
ArrayBacktracking
LeetCode ↗73% acc.
85
HardMaximal Rectangle✓ Our Solution
26
ArrayDynamic ProgrammingStackMatrix+1
LeetCode ↗54% acc.
86
MediumInsert Interval✓ Our Solution
26
Array
LeetCode ↗43% acc.
87
EasyPascal's Triangle II✓ Our Solution
26
ArrayDynamic Programming
LeetCode ↗66% acc.
88
MediumRotate List✓ Our Solution
26
Linked ListTwo Pointers
LeetCode ↗40% acc.
89
MediumFlatten Binary Tree to Linked List✓ Our Solution
26
Linked ListStackTreeDepth-First Search+1
LeetCode ↗69% acc.
90
MediumConstruct Binary Tree from Preorder and Inorder Traversal✓ Our Solution
26
ArrayHash TableDivide and ConquerTree+1
LeetCode ↗67% acc.
91
MediumUnique Paths II✓ Our Solution
26
ArrayDynamic ProgrammingMatrix
LeetCode ↗43% acc.
92
MediumMinimum Path Sum✓ Our Solution
26
ArrayDynamic ProgrammingMatrix
LeetCode ↗66% acc.
93
MediumSimplify Path✓ Our Solution
26
StringStack
LeetCode ↗48% acc.
94
EasySame Tree✓ Our Solution
26
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗65% acc.
95
MediumEdit Distance✓ Our Solution
26
StringDynamic Programming
LeetCode ↗59% acc.
96
HardMinimum Window Substring✓ Our Solution
26
Hash TableStringSliding Window
LeetCode ↗45% acc.
97
MediumInterleaving String✓ Our Solution
26
StringDynamic Programming
LeetCode ↗42% acc.
98
MediumUnique Binary Search Trees✓ Our Solution
26
MathDynamic ProgrammingTreeBinary Search Tree+1
LeetCode ↗62% acc.
99
MediumReverse Linked List II✓ Our Solution
26
Linked List
LeetCode ↗50% acc.
100
MediumFind Minimum in Rotated Sorted Array✓ Our Solution
26
ArrayBinary Search
LeetCode ↗53% acc.