grindmapcompany-wise LeetCode
All companies

Nvidia LeetCode Questions

136 questions all-time · 32 easy · 89 medium · 15 hard
# Problem Difficulty Frequency Acceptance
1Special Binary String
Hard
100
0.8%
2LRU Cache
Medium
88
0.5%
3Longest Substring Without Repeating Characters
Medium
85
0.4%
4Best Time to Buy and Sell Stock
Easy
82
0.6%
5Two Sum
Easy
81
0.6%
6Merge k Sorted Lists
Hard
79
0.6%
7Valid Parentheses
Easy
77
0.4%
8Group Anagrams
Medium
77
0.7%
9Minimum Operations to Reduce an Integer to 0
Medium
77
0.6%
10Maximum Subarray
Medium
75
0.5%
11Last Stone Weight
Easy
75
0.7%
12Maximize Greatness of an Array
Medium
75
0.6%
13Number of Islands
Medium
73
0.6%
14Maximum Number of Visible Points
Hard
73
0.4%
15Search in Rotated Sorted Array
Medium
71
0.5%
16Fizz Buzz
Easy
71
0.8%
17Restore IP Addresses
Medium
71
0.6%
18Trapping Rain Water
Hard
68
0.7%
19Reverse Bits
Easy
68
0.7%
20Missing Number
Easy
65
0.7%
21Dot Product of Two Sparse Vectors
Medium
65
0.9%
22Task Scheduler II
Medium
65
0.5%
23Merge Intervals
Medium
61
0.5%
24Move Zeroes
Easy
61
0.6%
25Find the Duplicate Number
Medium
61
0.6%
26Reverse Words in a String
Medium
61
0.6%
274Sum
Medium
61
0.4%
28Rotate List
Medium
61
0.4%
29Container With Most Water
Medium
61
0.6%
30Find The Original Array of Prefix Xor
Medium
61
0.9%
31Add Two Numbers
Medium
57
0.5%
32Fibonacci Number
Easy
57
0.7%
33Insert Delete GetRandom O(1)
Medium
57
0.6%
34Reverse Linked List
Easy
57
0.8%
35Merge Sorted Array
Easy
57
0.6%
36Unique Paths II
Medium
57
0.4%
37Max Sum of a Pair With Equal Sum of Digits
Medium
57
0.7%
38Top K Frequent Elements
Medium
57
0.7%
39Sliding Window Maximum
Hard
57
0.5%
40Rotate Image
Medium
52
0.8%
41Copy List with Random Pointer
Medium
52
0.6%
42House Robber
Medium
52
0.5%
43Break a Palindrome
Medium
52
0.5%
44String to Integer (atoi)
Medium
52
0.2%
45Rectangle Area
Medium
52
0.5%
46Serialize and Deserialize Binary Tree
Hard
52
0.6%
47Remove Stones to Minimize the Total
Medium
52
0.7%
48String Compression
Medium
52
0.6%
49Asteroid Collision
Medium
52
0.5%
50Jump Game
Medium
52
0.4%
51Power of Two
Easy
52
0.5%
52Subarray Sum Equals K
Medium
52
0.5%
53Valid Anagram
Easy
52
0.7%
54Product of Array Except Self
Medium
52
0.7%
55Maximum Number of Events That Can Be Attended
Medium
52
0.4%
56Minimum Absolute Difference
Easy
52
0.8%
573Sum
Medium
46
0.4%
58Generate Parentheses
Medium
46
0.8%
59Climbing Stairs
Easy
46
0.5%
60Set Matrix Zeroes
Medium
46
0.6%
61Reverse Linked List II
Medium
46
0.5%
62Find Peak Element
Medium
46
0.5%
63Maximal Square
Medium
46
0.5%
64Find Median from Data Stream
Hard
46
0.5%
65Counting Bits
Easy
46
0.8%
66Maximum Sum of Distinct Subarrays With Length K
Medium
46
0.4%
67Spiral Matrix
Medium
46
0.6%
68Remove Duplicates from Sorted List
Easy
46
0.6%
69Course Schedule II
Medium
46
0.6%
70Count the Number of Good Subsequences
Medium
46
0.5%
71Sort Colors
Medium
46
0.7%
72Minimum Path Sum
Medium
46
0.7%
73Linked List Cycle
Easy
46
0.5%
74First Unique Character in a String
Easy
46
0.7%
75Rotting Oranges
Medium
46
0.6%
76Find the Celebrity
Medium
46
0.5%
77Course Schedule
Medium
46
0.5%
78Longest Increasing Subsequence
Medium
46
0.6%
79Min Stack
Medium
46
0.6%
80Longest Consecutive Sequence
Medium
46
0.5%
81Palindrome Linked List
Easy
46
0.6%
82Minimum Knight Moves
Medium
37
0.4%
83Max Points on a Line
Hard
37
0.3%
84Kth Largest Element in an Array
Medium
37
0.7%
85H-Index
Medium
37
0.4%
86Linked List Random Node
Medium
37
0.6%
87Sliding Puzzle
Hard
37
0.7%
88All Possible Full Binary Trees
Medium
37
0.8%
89Longest Common Prefix
Easy
37
0.5%
90Minimum Size Subarray Sum
Medium
37
0.5%
91Delete Duplicate Folders in System
Hard
37
0.8%
92Reverse String
Easy
37
0.8%
93Number of 1 Bits
Easy
37
0.8%
94Merge In Between Linked Lists
Medium
37
0.8%
95The Maze
Medium
37
0.6%
96Integer to English Words
Hard
37
0.4%
97Task Scheduler
Medium
37
0.6%
98Remove Duplicates from Sorted List II
Medium
37
0.5%
99Largest Number
Medium
37
0.4%
100Clone Graph
Medium
37
0.7%
101Daily Temperatures
Medium
37
0.7%
102Middle of the Linked List
Easy
37
0.8%
103Merge Two Sorted Lists
Easy
37
0.7%
104Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Medium
37
0.6%
105Number of Ways to Split Array
Medium
37
0.6%
106Pow(x, n)
Medium
37
0.4%
107Maximum Product of Three Numbers
Easy
37
0.5%
108Sqrt(x)
Easy
37
0.4%
109Unique Paths
Medium
37
0.7%
110Simplify Path
Medium
37
0.5%
111Word Pattern
Easy
37
0.4%
112The Skyline Problem
Hard
37
0.5%
113Find K Closest Elements
Medium
37
0.5%
114Third Maximum Number
Easy
37
0.4%
115Decode String
Medium
37
0.6%
116Median of Two Sorted Arrays
Hard
37
0.5%
117Number of Lines To Write String
Easy
37
0.7%
118Shuffle an Array
Medium
37
0.6%
119Longest Palindromic Substring
Medium
37
0.4%
120Next Greater Element II
Medium
37
0.7%
121Diameter of Binary Tree
Easy
37
0.7%
122Compare Version Numbers
Medium
37
0.5%
123Maximum Product Subarray
Medium
37
0.4%
124Number of Visible People in a Queue
Hard
37
0.7%
125Count Primes
Medium
37
0.4%
126All Nodes Distance K in Binary Tree
Medium
37
0.7%
127Add Two Numbers II
Medium
37
0.6%
128Contains Duplicate
Easy
37
0.6%
129Design Memory Allocator
Medium
37
0.5%
130Fizz Buzz Multithreaded
Medium
37
0.7%
131Longest Cycle in a Graph
Hard
37
0.5%
132Network Delay Time
Medium
37
0.6%
133Design Circular Queue
Medium
37
0.5%
134Binary Subarrays With Sum
Medium
37
0.7%
135Previous Permutation With One Swap
Medium
37
0.5%
136Koko Eating Bananas
Medium
37
0.5%

How to read this list

The tabs at the top split the questions by how recently people said they were asked in interviews. "Last 30 Days" is the past month, "Last 3 Months" is the past quarter, and so on. "All Time" is every question on record for this company.

Frequency is a score from 0 to 100 for how often a question showed up in that time window. A higher number means it came up more often, so the list starts with the most common questions first. Acceptance is the share of submissions that pass on LeetCode. Click any question to open it on LeetCode.

Similar companies