O

Oracle

100 questions tracked100 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
MediumNumber of Islands✓ Our Solution
90
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
3
EasyTwo Sum✓ Our Solution
88
ArrayHash Table
LeetCode ↗56% acc.
4
MediumLongest Substring Without Repeating Characters✓ Our Solution
86
Hash TableStringSliding Window
LeetCode ↗37% acc.
5
MediumMerge Intervals✓ Our Solution
85
ArraySorting
LeetCode ↗49% acc.
6
MediumGroup Anagrams✓ Our Solution
82
ArrayHash TableStringSorting
LeetCode ↗71% acc.
7
MediumLongest Palindromic Substring✓ Our Solution
78
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
8
HardMerge k Sorted Lists✓ Our Solution
73
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
9
HardSliding Window Maximum✓ Our Solution
71
ArrayQueueSliding WindowHeap (Priority Queue)+1
LeetCode ↗48% acc.
10
MediumContainer With Most Water✓ Our Solution
71
ArrayTwo PointersGreedy
LeetCode ↗58% acc.
11
MediumSearch in Rotated Sorted Array✓ Our Solution
71
ArrayBinary Search
LeetCode ↗43% acc.
12
MediumBinary Tree Right Side View✓ Our Solution
70
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗67% acc.
13
MediumLongest Consecutive Sequence✓ Our Solution
69
ArrayHash TableUnion Find
LeetCode ↗47% acc.
14
HardTrapping Rain Water✓ Our Solution
67
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
15
MediumAdd Two Numbers✓ Our Solution
67
Linked ListMathRecursion
LeetCode ↗46% acc.
16
MediumSpiral Matrix✓ Our Solution
67
ArrayMatrixSimulation
LeetCode ↗54% acc.
17
EasyReverse Linked List✓ Our Solution
64
Linked ListRecursion
LeetCode ↗79% acc.
18
EasyMerge Two Sorted Lists✓ Our Solution
62
Linked ListRecursion
LeetCode ↗67% acc.
19
MediumJump Game✓ Our Solution
62
ArrayDynamic ProgrammingGreedy
LeetCode ↗39% acc.
20
EasyBest Time to Buy and Sell Stock✓ Our Solution
62
ArrayDynamic Programming
LeetCode ↗55% acc.
21
MediumPow(x, n)✓ Our Solution
62
MathRecursion
LeetCode ↗37% acc.
22
62
ArrayTwo PointersSorting
LeetCode ↗37% acc.
23
MediumCourse Schedule✓ Our Solution
62
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
24
EasyRoman to Integer✓ Our Solution
62
Hash TableMathString
LeetCode ↗65% acc.
25
MediumBinary Tree Zigzag Level Order Traversal✓ Our Solution
60
TreeBreadth-First SearchBinary Tree
LeetCode ↗62% acc.
26
HardBinary Tree Maximum Path Sum✓ Our Solution
60
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗41% acc.
27
MediumSearch a 2D Matrix II✓ Our Solution
60
ArrayBinary SearchDivide and ConquerMatrix
LeetCode ↗55% acc.
28
MediumCourse Schedule II✓ Our Solution
60
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗53% acc.
29
MediumGas Station✓ Our Solution
60
ArrayGreedy
LeetCode ↗46% acc.
30
EasyLongest Common Prefix✓ Our Solution
57
StringTrie
LeetCode ↗45% acc.
31
MediumMaximum Subarray✓ Our Solution
57
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
32
MediumWord Search✓ Our Solution
57
ArrayStringBacktrackingDepth-First Search+1
LeetCode ↗45% acc.
33
HardFirst Missing Positive✓ Our Solution
57
ArrayHash Table
LeetCode ↗41% acc.
34
MediumKth Largest Element in an Array✓ Our Solution
55
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
LeetCode ↗68% acc.
35
MediumSet Matrix Zeroes✓ Our Solution
55
ArrayHash TableMatrix
LeetCode ↗61% acc.
36
MediumLowest Common Ancestor of a Binary Tree✓ Our Solution
55
TreeDepth-First SearchBinary Tree
LeetCode ↗67% acc.
37
MediumMin Stack✓ Our Solution
55
StackDesign
LeetCode ↗56% acc.
38
MediumValidate Binary Search Tree✓ Our Solution
55
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.
39
EasyLinked List Cycle✓ Our Solution
55
Hash TableLinked ListTwo Pointers
LeetCode ↗53% acc.
40
MediumRestore IP Addresses✓ Our Solution
55
StringBacktracking
LeetCode ↗53% acc.
41
MediumProduct of Array Except Self✓ Our Solution
55
ArrayPrefix Sum
LeetCode ↗68% acc.
42
MediumCombination Sum✓ Our Solution
55
ArrayBacktracking
LeetCode ↗75% acc.
43
EasyValid Anagram✓ Our Solution
52
Hash TableStringSorting
LeetCode ↗67% acc.
44
MediumSort Colors✓ Our Solution
52
ArrayTwo PointersSorting
LeetCode ↗68% acc.
45
HardMedian of Two Sorted Arrays✓ Our Solution
52
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
46
MediumZigzag Conversion✓ Our Solution
52
String
LeetCode ↗52% acc.
47
MediumDelete Node in a Linked List✓ Our Solution
52
Linked List
LeetCode ↗82% acc.
48
MediumFind First and Last Position of Element in Sorted Array✓ Our Solution
52
ArrayBinary Search
LeetCode ↗47% acc.
49
MediumGenerate Parentheses✓ Our Solution
52
StringDynamic ProgrammingBacktracking
LeetCode ↗77% acc.
50
MediumMaximal Square✓ Our Solution
52
ArrayDynamic ProgrammingMatrix
LeetCode ↗49% acc.
51
MediumJump Game II✓ Our Solution
52
ArrayDynamic ProgrammingGreedy
LeetCode ↗42% acc.
52
MediumRotate Image✓ Our Solution
48
ArrayMathMatrix
LeetCode ↗78% acc.
53
EasyIsomorphic Strings✓ Our Solution
48
Hash TableString
LeetCode ↗47% acc.
54
EasyRemove Duplicates from Sorted Array✓ Our Solution
48
ArrayTwo Pointers
LeetCode ↗60% acc.
55
MediumCombination Sum II✓ Our Solution
48
ArrayBacktracking
LeetCode ↗58% acc.
56
MediumMinimum Size Subarray Sum✓ Our Solution
48
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗49% acc.
57
EasyMajority Element✓ Our Solution
48
ArrayHash TableDivide and ConquerSorting+1
LeetCode ↗66% acc.
58
MediumLetter Combinations of a Phone Number✓ Our Solution
48
Hash TableStringBacktracking
LeetCode ↗64% acc.
59
MediumKth Smallest Element in a BST✓ Our Solution
48
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗75% acc.
60
MediumInteger to Roman✓ Our Solution
48
Hash TableMathString
LeetCode ↗69% acc.
61
MediumPermutations✓ Our Solution
45
ArrayBacktracking
LeetCode ↗81% acc.
62
MediumCopy List with Random Pointer✓ Our Solution
45
Hash TableLinked List
LeetCode ↗61% acc.
63
HardWord Break II✓ Our Solution
45
ArrayHash TableStringDynamic Programming+3
LeetCode ↗54% acc.
64
MediumDecode Ways✓ Our Solution
45
StringDynamic Programming
LeetCode ↗37% acc.
65
HardLongest Valid Parentheses✓ Our Solution
45
StringDynamic ProgrammingStack
LeetCode ↗36% acc.
66
MediumRotate Array✓ Our Solution
45
ArrayMathTwo Pointers
LeetCode ↗43% acc.
67
MediumLargest Number✓ Our Solution
45
ArrayStringGreedySorting
LeetCode ↗41% acc.
68
HardRegular Expression Matching✓ Our Solution
40
StringDynamic ProgrammingRecursion
LeetCode ↗29% acc.
69
EasyInvert Binary Tree✓ Our Solution
40
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗79% acc.
70
EasyPalindrome Number✓ Our Solution
40
Math
LeetCode ↗59% acc.
71
MediumFind Peak Element✓ Our Solution
40
ArrayBinary Search
LeetCode ↗47% acc.
72
MediumInsert Interval✓ Our Solution
40
Array
LeetCode ↗43% acc.
73
HardMax Points on a Line✓ Our Solution
40
ArrayHash TableMathGeometry
LeetCode ↗29% acc.
74
EasyMerge Sorted Array✓ Our Solution
40
ArrayTwo PointersSorting
LeetCode ↗53% acc.
75
HardSudoku Solver✓ Our Solution
40
ArrayHash TableBacktrackingMatrix
LeetCode ↗64% acc.
76
MediumUnique Paths✓ Our Solution
40
MathDynamic ProgrammingCombinatorics
LeetCode ↗66% acc.
77
MediumPopulating Next Right Pointers in Each Node✓ Our Solution
40
Linked ListTreeDepth-First SearchBreadth-First Search+1
LeetCode ↗65% acc.
78
MediumRotate List✓ Our Solution
40
Linked ListTwo Pointers
LeetCode ↗40% acc.
79
HardBasic Calculator✓ Our Solution
34
MathStringStackRecursion
LeetCode ↗46% acc.
80
HardText Justification✓ Our Solution
34
ArrayStringSimulation
LeetCode ↗48% acc.
81
HardMinimum Window Substring✓ Our Solution
34
Hash TableStringSliding Window
LeetCode ↗45% acc.
82
HardNumber of Unique Good Subsequences✓ Our Solution
34
StringDynamic Programming
LeetCode ↗52% acc.
83
EasyRemove Duplicates from Sorted List✓ Our Solution
34
Linked List
LeetCode ↗55% acc.
84
EasyPalindrome Linked List✓ Our Solution
34
Linked ListTwo PointersStackRecursion
LeetCode ↗56% acc.
85
EasyImplement Queue using Stacks✓ Our Solution
34
StackDesignQueue
LeetCode ↗68% acc.
86
EasyImplement Stack using Queues✓ Our Solution
34
StackDesignQueue
LeetCode ↗67% acc.
87
MediumTwo Sum II - Input Array Is Sorted✓ Our Solution
34
ArrayTwo PointersBinary Search
LeetCode ↗63% acc.
88
EasyExcel Sheet Column Title✓ Our Solution
34
MathString
LeetCode ↗44% acc.
89
MediumPath Sum II✓ Our Solution
34
BacktrackingTreeDepth-First SearchBinary Tree
LeetCode ↗60% acc.
90
MediumSort List✓ Our Solution
34
Linked ListTwo PointersDivide and ConquerSorting+1
LeetCode ↗62% acc.
91
EasyFind Subsequence of Length K With the Largest Sum✓ Our Solution
34
ArrayHash TableSortingHeap (Priority Queue)
LeetCode ↗46% acc.
92
EasyCount Number of Pairs With Absolute Difference K✓ Our Solution
34
ArrayHash TableCounting
LeetCode ↗85% acc.
93
EasyPascal's Triangle✓ Our Solution
25
ArrayDynamic Programming
LeetCode ↗77% acc.
94
MediumMaximum Product Subarray✓ Our Solution
25
ArrayDynamic Programming
LeetCode ↗35% acc.
95
MediumValid Sudoku✓ Our Solution
25
ArrayHash TableMatrix
LeetCode ↗62% acc.
96
MediumLowest Common Ancestor of a Binary Search Tree✓ Our Solution
25
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗68% acc.
97
HardMaximal Rectangle✓ Our Solution
25
ArrayDynamic ProgrammingStackMatrix+1
LeetCode ↗54% acc.
98
EasyDelete Duplicate Emails✓ Our Solution
25
Database
LeetCode ↗64% acc.
99
EasyIntersection of Two Linked Lists✓ Our Solution
25
Hash TableLinked ListTwo Pointers
LeetCode ↗61% acc.
100
EasyClimbing Stairs✓ Our Solution
25
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.