U

Uber

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