N

Nvidia

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

Showing 100 of 100 questions

1
EasyLast Stone Weight✓ Our Solution
100
ArrayHeap (Priority Queue)
LeetCode ↗66% acc.
2
MediumLRU Cache✓ Our Solution
90
Hash TableLinked ListDesignDoubly-Linked List
LeetCode ↗45% acc.
3
MediumGroup Anagrams✓ Our Solution
87
ArrayHash TableStringSorting
LeetCode ↗71% acc.
4
MediumMinimum Operations to Reduce an Integer to 0✓ Our Solution
85
Dynamic ProgrammingGreedyBit Manipulation
LeetCode ↗57% acc.
5
HardSpecial Binary String✓ Our Solution
84
StringRecursion
LeetCode ↗64% acc.
6
EasyBest Time to Buy and Sell Stock✓ Our Solution
82
ArrayDynamic Programming
LeetCode ↗55% acc.
7
EasyTwo Sum✓ Our Solution
80
ArrayHash Table
LeetCode ↗56% acc.
8
MediumLongest Substring Without Repeating Characters✓ Our Solution
80
Hash TableStringSliding Window
LeetCode ↗37% acc.
9
MediumAdd Two Numbers✓ Our Solution
78
Linked ListMathRecursion
LeetCode ↗46% acc.
10
MediumMaximum Subarray✓ Our Solution
78
ArrayDivide and ConquerDynamic Programming
LeetCode ↗52% acc.
11
MediumNumber of Islands✓ Our Solution
78
ArrayDepth-First SearchBreadth-First SearchUnion Find+1
LeetCode ↗62% acc.
12
HardMaximum Number of Visible Points✓ Our Solution
76
ArrayMathGeometrySliding Window+1
LeetCode ↗38% acc.
13
MediumSearch in Rotated Sorted Array✓ Our Solution
76
ArrayBinary Search
LeetCode ↗43% acc.
14
EasyReverse Bits✓ Our Solution
76
Divide and ConquerBit Manipulation
LeetCode ↗63% acc.
15
MediumDot Product of Two Sparse Vectors
71
ArrayHash TableTwo PointersDesign
LeetCode ↗90% acc.
16
EasyValid Parentheses✓ Our Solution
71
StringStack
LeetCode ↗42% acc.
17
EasyMissing Number✓ Our Solution
71
ArrayHash TableMathBinary Search+2
LeetCode ↗70% acc.
18
HardMerge k Sorted Lists✓ Our Solution
67
Linked ListDivide and ConquerHeap (Priority Queue)Merge Sort
LeetCode ↗57% acc.
19
MediumMerge Intervals✓ Our Solution
67
ArraySorting
LeetCode ↗49% acc.
20
EasyMove Zeroes✓ Our Solution
67
ArrayTwo Pointers
LeetCode ↗63% acc.
21
MediumTask Scheduler II✓ Our Solution
67
ArrayHash TableSimulation
LeetCode ↗54% acc.
22
EasyFibonacci Number✓ Our Solution
64
MathDynamic ProgrammingRecursionMemoization
LeetCode ↗73% acc.
23
MediumCopy List with Random Pointer✓ Our Solution
64
Hash TableLinked List
LeetCode ↗61% acc.
24
HardFind Median from Data Stream✓ Our Solution
64
Two PointersDesignSortingHeap (Priority Queue)+1
LeetCode ↗53% acc.
25
MediumRotate Image✓ Our Solution
64
ArrayMathMatrix
LeetCode ↗78% acc.
26
MediumInsert Delete GetRandom O(1)✓ Our Solution
60
ArrayHash TableMathDesign+1
LeetCode ↗55% acc.
27
MediumRectangle Area✓ Our Solution
60
MathGeometry
LeetCode ↗47% acc.
28
MediumString to Integer (atoi)✓ Our Solution
60
String
LeetCode ↗19% acc.
29
MediumGenerate Parentheses✓ Our Solution
60
StringDynamic ProgrammingBacktracking
LeetCode ↗77% acc.
30
HardTrapping Rain Water✓ Our Solution
60
ArrayTwo PointersDynamic ProgrammingStack+1
LeetCode ↗65% acc.
31
MediumFind the Duplicate Number✓ Our Solution
60
ArrayTwo PointersBinary SearchBit Manipulation
LeetCode ↗63% acc.
32
EasyClimbing Stairs✓ Our Solution
60
MathDynamic ProgrammingMemoization
LeetCode ↗54% acc.
33
MediumBreak a Palindrome✓ Our Solution
60
StringGreedy
LeetCode ↗52% acc.
34
MediumKth Largest Element in an Array✓ Our Solution
60
ArrayDivide and ConquerSortingHeap (Priority Queue)+1
LeetCode ↗68% acc.
35
HardBinary Tree Maximum Path Sum✓ Our Solution
54
Dynamic ProgrammingTreeDepth-First SearchBinary Tree
LeetCode ↗41% acc.
36
MediumSnapshot Array✓ Our Solution
54
ArrayHash TableBinary SearchDesign
LeetCode ↗37% acc.
37
HardDelete Duplicate Folders in System✓ Our Solution
54
ArrayHash TableStringTrie+1
LeetCode ↗54% acc.
38
MediumSpiral Matrix✓ Our Solution
54
ArrayMatrixSimulation
LeetCode ↗54% acc.
39
HardSliding Puzzle✓ Our Solution
54
ArrayDynamic ProgrammingBacktrackingBreadth-First Search+2
LeetCode ↗73% acc.
40
MediumH-Index✓ Our Solution
54
ArraySortingCounting Sort
LeetCode ↗40% acc.
41
MediumSingle Element in a Sorted Array✓ Our Solution
54
ArrayBinary Search
LeetCode ↗59% acc.
42
MediumMaximal Square✓ Our Solution
54
ArrayDynamic ProgrammingMatrix
LeetCode ↗49% acc.
43
MediumReverse Linked List II✓ Our Solution
54
Linked List
LeetCode ↗50% acc.
44
MediumValidate Binary Search Tree✓ Our Solution
54
TreeDepth-First SearchBinary Search TreeBinary Tree
LeetCode ↗34% acc.
45
EasyIntersection of Two Linked Lists✓ Our Solution
54
Hash TableLinked ListTwo Pointers
LeetCode ↗61% acc.
46
EasyLongest Common Prefix✓ Our Solution
48
StringTrie
LeetCode ↗45% acc.
47
MediumWays to Make a Fair Array✓ Our Solution
48
ArrayPrefix Sum
LeetCode ↗64% acc.
48
MediumFind Peak Element✓ Our Solution
48
ArrayBinary Search
LeetCode ↗47% acc.
49
MediumImplement Trie (Prefix Tree)✓ Our Solution
48
Hash TableStringDesignTrie
LeetCode ↗68% acc.
50
MediumDouble a Number Represented as a Linked List✓ Our Solution
48
Linked ListMathStack
LeetCode ↗61% acc.
51
MediumMinimum Add to Make Parentheses Valid✓ Our Solution
48
StringStackGreedy
LeetCode ↗75% acc.
52
MediumMaximum Sum of Distinct Subarrays With Length K✓ Our Solution
48
ArrayHash TableSliding Window
LeetCode ↗43% acc.
53
HardMax Points on a Line✓ Our Solution
48
ArrayHash TableMathGeometry
LeetCode ↗29% acc.
54
EasyReverse Linked List✓ Our Solution
48
Linked ListRecursion
LeetCode ↗79% acc.
55
MediumConvert Binary Search Tree to Sorted Doubly Linked List
48
Linked ListStackTreeDepth-First Search+3
LeetCode ↗65% acc.
56
EasyMajority Element✓ Our Solution
48
ArrayHash TableDivide and ConquerSorting+1
LeetCode ↗66% acc.
57
HardSerialize and Deserialize Binary Tree✓ Our Solution
48
StringTreeDepth-First SearchBreadth-First Search+2
LeetCode ↗59% acc.
58
MediumMinimum Size Subarray Sum✓ Our Solution
48
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗49% acc.
59
EasyMerge Sorted Array✓ Our Solution
48
ArrayTwo PointersSorting
LeetCode ↗53% acc.
60
MediumReverse Integer✓ Our Solution
48
Math
LeetCode ↗30% acc.
61
MediumCourse Schedule II✓ Our Solution
48
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗53% acc.
62
MediumKeys and Rooms✓ Our Solution
48
Depth-First SearchBreadth-First SearchGraph
LeetCode ↗75% acc.
63
MediumMinimum Knight Moves
48
Breadth-First Search
LeetCode ↗41% acc.
64
EasyFind Pivot Index✓ Our Solution
48
ArrayPrefix Sum
LeetCode ↗61% acc.
65
EasyDesign HashMap✓ Our Solution
48
ArrayHash TableLinked ListDesign+1
LeetCode ↗66% acc.
66
EasyCounting Bits✓ Our Solution
48
Dynamic ProgrammingBit Manipulation
LeetCode ↗80% acc.
67
HardBest Time to Buy and Sell Stock IV✓ Our Solution
48
ArrayDynamic Programming
LeetCode ↗47% acc.
68
MediumHouse Robber✓ Our Solution
48
ArrayDynamic Programming
LeetCode ↗52% acc.
69
MediumFind The Original Array of Prefix Xor✓ Our Solution
48
ArrayBit Manipulation
LeetCode ↗88% acc.
70
EasyIntersection of Two Arrays✓ Our Solution
48
ArrayHash TableTwo PointersBinary Search+1
LeetCode ↗76% acc.
71
MediumShuffle an Array✓ Our Solution
48
ArrayMathDesignRandomized
LeetCode ↗59% acc.
72
MediumVerify Preorder Sequence in Binary Search Tree
48
ArrayStackTreeBinary Search Tree+3
LeetCode ↗51% acc.
73
MediumLinked List Random Node✓ Our Solution
48
Linked ListMathReservoir SamplingRandomized
LeetCode ↗64% acc.
74
MediumSet Matrix Zeroes✓ Our Solution
48
ArrayHash TableMatrix
LeetCode ↗61% acc.
75
EasyRemove Duplicates from Sorted List✓ Our Solution
38
Linked List
LeetCode ↗55% acc.
76
MediumCoin Change✓ Our Solution
38
ArrayDynamic ProgrammingBreadth-First Search
LeetCode ↗46% acc.
77
MediumCourse Schedule✓ Our Solution
38
Depth-First SearchBreadth-First SearchGraphTopological Sort
LeetCode ↗49% acc.
78
EasyPrint in Order✓ Our Solution
38
Concurrency
LeetCode ↗72% acc.
79
MediumRange Sum Query 2D - Immutable✓ Our Solution
38
ArrayDesignMatrixPrefix Sum
LeetCode ↗57% acc.
80
EasyFizz Buzz✓ Our Solution
38
MathStringSimulation
LeetCode ↗74% acc.
81
MediumMeeting Rooms II
38
ArrayTwo PointersGreedySorting+2
LeetCode ↗52% acc.
82
MediumDelete Node in a Linked List✓ Our Solution
38
Linked List
LeetCode ↗82% acc.
83
MediumValidate IP Address✓ Our Solution
38
String
LeetCode ↗28% acc.
84
EasyGreatest Common Divisor of Strings✓ Our Solution
38
MathString
LeetCode ↗53% acc.
85
MediumRobot Bounded In Circle✓ Our Solution
38
MathStringSimulation
LeetCode ↗56% acc.
86
MediumValid Sudoku✓ Our Solution
38
ArrayHash TableMatrix
LeetCode ↗62% acc.
87
HardLongest Increasing Path in a Matrix✓ Our Solution
38
ArrayDynamic ProgrammingDepth-First SearchBreadth-First Search+4
LeetCode ↗55% acc.
88
MediumMaximum Product Subarray✓ Our Solution
38
ArrayDynamic Programming
LeetCode ↗35% acc.
89
MediumSubarray Product Less Than K✓ Our Solution
38
ArrayBinary SearchSliding WindowPrefix Sum
LeetCode ↗53% acc.
90
MediumMin Stack✓ Our Solution
38
StackDesign
LeetCode ↗56% acc.
91
38
ArrayTwo PointersSorting
LeetCode ↗37% acc.
92
EasyIs Subsequence✓ Our Solution
38
Two PointersStringDynamic Programming
LeetCode ↗48% acc.
93
MediumRemove Nth Node From End of List✓ Our Solution
38
Linked ListTwo Pointers
LeetCode ↗49% acc.
94
MediumNumber of Operations to Make Network Connected✓ Our Solution
38
Depth-First SearchBreadth-First SearchUnion FindGraph
LeetCode ↗65% acc.
95
MediumAll Possible Full Binary Trees✓ Our Solution
38
Dynamic ProgrammingTreeRecursionMemoization+1
LeetCode ↗83% acc.
96
EasyRectangle Overlap✓ Our Solution
38
MathGeometry
LeetCode ↗46% acc.
97
MediumSort Characters By Frequency✓ Our Solution
38
Hash TableStringSortingHeap (Priority Queue)+2
LeetCode ↗74% acc.
98
MediumSwapping Nodes in a Linked List✓ Our Solution
38
Linked ListTwo Pointers
LeetCode ↗68% acc.
99
EasySingle Number✓ Our Solution
38
ArrayBit Manipulation
LeetCode ↗76% acc.
100
MediumCount the Number of Good Subsequences
38
Hash TableMathStringCombinatorics+1
LeetCode ↗51% acc.