L

LinkedIn

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

Showing 100 of 100 questions

1
HardMax Stack
100
Linked ListStackDesignDoubly-Linked List+1
LeetCode ↗46% acc.
2
MediumNested List Weight Sum II
95
StackDepth-First SearchBreadth-First Search
LeetCode ↗66% acc.
3
HardAll O`one Data Structure✓ Our Solution
94
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗44% acc.
4
HardWord Ladder✓ Our Solution
79
Hash TableStringBreadth-First Search
LeetCode ↗43% acc.
5
MediumFind the Celebrity
79
Two PointersGraphInteractive
LeetCode ↗48% acc.
6
MediumNested List Weight Sum
78
Depth-First SearchBreadth-First Search
LeetCode ↗86% acc.
7
MediumShortest Word Distance II
77
ArrayHash TableTwo PointersString+1
LeetCode ↗62% acc.
8
MediumMaximum Subarray✓ Our Solution
77
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
9
MediumFind Leaves of Binary Tree
77
TreeDepth-First SearchBinary Tree
LeetCode ↗81% acc.
10
EasyValid Parentheses✓ Our Solution
77
StringStack
LeetCode ↗42% acc.
11
MediumNumber of Islands✓ Our Solution
76
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
12
MediumMaximum Product Subarray✓ Our Solution
73
ArrayDynamic Programming
LeetCode ↗35% acc.
13
EasyCan Place Flowers✓ Our Solution
72
ArrayGreedy
LeetCode ↗29% acc.
14
MediumSearch in Rotated Sorted Array✓ Our Solution
71
ArrayBinary Search
LeetCode ↗43% acc.
15
MediumPow(x, n)✓ Our Solution
71
MathRecursion
LeetCode ↗37% acc.
16
MediumBinary Tree Upside Down
69
TreeDepth-First SearchBinary Tree
LeetCode ↗65% acc.
17
MediumInsert Delete GetRandom O(1)✓ Our Solution
69
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
18
MediumPartition to K Equal Sum Subsets✓ Our Solution
69
ArrayDynamic ProgrammingBacktrackingBit Manipulation+2
LeetCode ↗38% acc.
19
MediumFind First and Last Position of Element in Sorted Array✓ Our Solution
68
ArrayBinary Search
LeetCode ↗47% acc.
20
MediumPaint House
68
ArrayDynamic Programming
LeetCode ↗64% acc.
21
HardSerialize and Deserialize Binary Tree✓ Our Solution
66
StringTreeDepth-First SearchBreadth-First Search+2
LeetCode ↗59% acc.
22
HardMinimum Window Substring✓ Our Solution
65
Hash TableStringSliding Window
LeetCode ↗45% acc.
23
EasyMaximum Depth of Binary Tree✓ Our Solution
64
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗77% acc.
24
MediumFactor Combinations
64
Backtracking
LeetCode ↗50% acc.
25
EasyShortest Word Distance
64
ArrayString
LeetCode ↗66% acc.
26
MediumExclusive Time of Functions✓ Our Solution
64
ArrayStack
LeetCode ↗65% acc.
27
MediumLowest Common Ancestor of a Binary Tree✓ Our Solution
63
TreeDepth-First SearchBinary Tree
LeetCode ↗67% acc.
28
MediumKth Largest Element in an Array✓ Our Solution
63
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
LeetCode ↗68% acc.
29
MediumLetter Combinations of a Phone Number✓ Our Solution
63
Hash TableStringBacktracking
LeetCode ↗64% acc.
30
MediumLowest Common Ancestor of a Binary Search Tree✓ Our Solution
62
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗68% acc.
31
EasyIsomorphic Strings✓ Our Solution
62
Hash TableString
LeetCode ↗47% acc.
32
EasySymmetric Tree✓ Our Solution
61
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗59% acc.
33
MediumSort Transformed Array
61
ArrayMathTwo PointersSorting
LeetCode ↗57% acc.
34
MediumMerge Intervals✓ Our Solution
61
ArraySorting
LeetCode ↗49% acc.
35
HardCount Integers in Intervals✓ Our Solution
60
DesignSegment TreeOrdered Set
LeetCode ↗34% acc.
36
EasyValid Perfect Square✓ Our Solution
60
MathBinary Search
LeetCode ↗44% acc.
37
HardValid Number✓ Our Solution
60
String
LeetCode ↗22% acc.
38
HardKth Smallest Product of Two Sorted Arrays✓ Our Solution
60
ArrayBinary Search
LeetCode ↗31% acc.
39
HardMax Points on a Line✓ Our Solution
59
ArrayHash TableMathGeometry
LeetCode ↗29% acc.
40
EasySecond Minimum Node In a Binary Tree✓ Our Solution
59
TreeDepth-First SearchBinary Tree
LeetCode ↗45% acc.
41
HardClosest Binary Search Tree Value II
59
Two PointersStackTreeDepth-First Search+3
LeetCode ↗60% acc.
42
MediumHouse Robber✓ Our Solution
58
ArrayDynamic Programming
LeetCode ↗52% acc.
43
MediumEvaluate Reverse Polish Notation✓ Our Solution
58
ArrayMathStack
LeetCode ↗55% acc.
44
MediumRepeated DNA Sequences✓ Our Solution
58
Hash TableStringBit ManipulationSliding Window+2
LeetCode ↗51% acc.
45
MediumLRU Cache✓ Our Solution
56
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
46
MediumBinary Tree Level Order Traversal✓ Our Solution
56
TreeBreadth-First SearchBinary Tree
LeetCode ↗71% acc.
47
MediumCan I Win✓ Our Solution
56
MathDynamic ProgrammingBit ManipulationMemoization+2
LeetCode ↗30% acc.
48
MediumLongest Palindromic Subsequence✓ Our Solution
56
StringDynamic Programming
LeetCode ↗64% acc.
49
MediumPermutations II✓ Our Solution
55
ArrayBacktrackingSorting
LeetCode ↗62% acc.
50
EasyMerge Two Sorted Lists✓ Our Solution
55
Linked ListRecursion
LeetCode ↗67% acc.
51
MediumFlatten Nested List Iterator✓ Our Solution
55
StackTreeDepth-First SearchDesign+2
LeetCode ↗65% acc.
52
MediumShortest Word Distance III
55
ArrayString
LeetCode ↗59% acc.
53
MediumPermutations✓ Our Solution
55
ArrayBacktracking
LeetCode ↗81% acc.
54
MediumPalindromic Substrings✓ Our Solution
53
Two PointersStringDynamic Programming
LeetCode ↗72% acc.
55
MediumSparse Matrix Multiplication
53
ArrayHash TableMatrix
LeetCode ↗69% acc.
56
MediumFind K Pairs with Smallest Sums✓ Our Solution
53
ArrayHeap (Priority Queue)
LeetCode ↗41% acc.
57
EasyTwo Sum✓ Our Solution
53
ArrayHash Table
LeetCode ↗56% acc.
58
MediumBinary Tree Zigzag Level Order Traversal✓ Our Solution
53
TreeBreadth-First SearchBinary Tree
LeetCode ↗62% acc.
59
HardMerge k Sorted Lists✓ Our Solution
53
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
60
MediumProduct of Array Except Self✓ Our Solution
52
ArrayPrefix Sum
LeetCode ↗68% acc.
61
HardText Justification✓ Our Solution
52
ArrayStringSimulation
LeetCode ↗48% acc.
62
MediumFind K Closest Elements✓ Our Solution
50
ArrayTwo PointersBinary SearchSliding Window+2
LeetCode ↗49% acc.
63
MediumSum of Square Numbers✓ Our Solution
50
MathTwo PointersBinary Search
LeetCode ↗37% acc.
64
HardTime to Cross a Bridge✓ Our Solution
50
ArrayHeap (Priority Queue)Simulation
LeetCode ↗44% acc.
65
MediumMaximize Total Tastiness of Purchased Fruits
50
ArrayDynamic Programming
LeetCode ↗64% acc.
66
MediumFind Largest Value in Each Tree Row✓ Our Solution
50
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗66% acc.
67
HardMaximum Number of Non-overlapping Palindrome Substrings✓ Our Solution
50
Two PointersStringDynamic ProgrammingGreedy
LeetCode ↗42% acc.
68
MediumInsert Interval✓ Our Solution
50
Array
LeetCode ↗43% acc.
69
HardMinimum Deletions to Make Array Divisible✓ Our Solution
50
ArrayMathSortingHeap (Priority Queue)+1
LeetCode ↗58% acc.
70
HardInsert Delete GetRandom O(1) - Duplicates allowed✓ Our Solution
50
ArrayHash TableMathDesign+1
LeetCode ↗36% acc.
71
EasyTwo Sum III - Data structure design
50
ArrayHash TableTwo PointersDesign+1
LeetCode ↗39% acc.
72
MediumCreate Binary Tree From Descriptions✓ Our Solution
50
ArrayHash TableTreeBinary Tree
LeetCode ↗82% acc.
73
MediumBinary Search Tree Iterator✓ Our Solution
50
StackTreeDesignBinary Search Tree+2
LeetCode ↗75% acc.
74
MediumMax Area of Island✓ Our Solution
48
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗73% acc.
75
MediumEdit Distance✓ Our Solution
46
StringDynamic Programming
LeetCode ↗59% acc.
76
MediumRotate List✓ Our Solution
46
Linked ListTwo Pointers
LeetCode ↗40% acc.
77
MediumGraph Valid Tree
46
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗49% acc.
78
MediumValid Triangle Number✓ Our Solution
46
ArrayTwo PointersBinary SearchGreedy+1
LeetCode ↗52% acc.
79
MediumNumber of Connected Components in an Undirected Graph
43
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗64% acc.
80
MediumMin Stack✓ Our Solution
43
StackDesign
LeetCode ↗56% acc.
81
MediumShuffle an Array✓ Our Solution
41
ArrayMathDesignRandomized
LeetCode ↗59% acc.
82
HardWord Ladder II✓ Our Solution
41
Hash TableStringBacktrackingBreadth-First Search
LeetCode ↗27% acc.
83
MediumCombination Sum✓ Our Solution
37
ArrayBacktracking
LeetCode ↗75% acc.
84
EasyMerge Sorted Array✓ Our Solution
37
ArrayTwo PointersSorting
LeetCode ↗53% acc.
85
MediumLongest Palindromic Substring✓ Our Solution
37
Two PointersStringDynamic Programming
LeetCode ↗36% acc.
86
MediumInteger to Roman✓ Our Solution
33
Hash TableMathString
LeetCode ↗69% acc.
87
EasyIntersection of Two Arrays✓ Our Solution
33
ArrayHash TableTwo PointersBinary Search+1
LeetCode ↗76% acc.
88
EasyFizz Buzz✓ Our Solution
33
MathStringSimulation
LeetCode ↗74% acc.
89
EasyDiameter of Binary Tree✓ Our Solution
28
TreeDepth-First SearchBinary Tree
LeetCode ↗64% acc.
90
EasySame Tree✓ Our Solution
28
TreeDepth-First SearchBreadth-First SearchBinary Tree
LeetCode ↗65% acc.
91
MediumHouse Robber IV✓ Our Solution
28
ArrayBinary SearchDynamic ProgrammingGreedy
LeetCode ↗65% acc.
92
MediumLongest Substring Without Repeating Characters✓ Our Solution
28
Hash TableStringSliding Window
LeetCode ↗37% acc.
93
HardMedian of Two Sorted Arrays✓ Our Solution
28
ArrayBinary SearchDivide and Conquer
LeetCode ↗44% acc.
94
MediumHouse Robber II✓ Our Solution
28
ArrayDynamic Programming
LeetCode ↗44% acc.
95
MediumNext Permutation✓ Our Solution
21
ArrayTwo Pointers
LeetCode ↗43% acc.
96
MediumReorder List✓ Our Solution
21
Linked ListTwo PointersStackRecursion
LeetCode ↗63% acc.
97
EasyMinimum Time to Type Word Using Special Typewriter✓ Our Solution
21
StringGreedy
LeetCode ↗78% acc.
98
MediumDesign Add and Search Words Data Structure✓ Our Solution
21
StringDepth-First SearchDesignTrie
LeetCode ↗47% acc.
99
EasyBest Time to Buy and Sell Stock✓ Our Solution
21
ArrayDynamic Programming
LeetCode ↗55% acc.
100
MediumValidate Binary Search Tree✓ Our Solution
21
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.