Nvidia Coding Interview Questions
90 coding problems are tagged as asked at Nvidia in interviews and online assessments reported by candidates. By difficulty they split into 32 basic, 47 intermediate and 11 advanced. The topics they most often combine with are Array, String, Hash Table, Sorting.
Reported questions change over time and are not a guarantee of what you will be asked, so use the list to see which patterns Nvidia tends to test. For each problem, practise explaining your approach, its time and space cost and the edge cases before you write the code; every problem opens in an editor that runs your code against test cases.
Coding problems
- Two Sum (Basic)
- Contains Duplicate (Basic)
- Best Time to Buy and Sell Stock (Basic)
- Maximum Subarray (Intermediate)
- Valid Parentheses (Basic)
- Longest Substring Without Repeats (Intermediate)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- Climbing Stairs (Basic)
- House Robber (Intermediate)
- Longest Increasing Subsequence (Advanced)
- Reverse String (Basic)
- First Unique Character (Basic)
- Kth Largest Element (Intermediate)
- Missing Number (Basic)
- Minimum Size Subarray Sum (Intermediate)
- Longest Consecutive Sequence (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Trapping Rain Water (Advanced)
- Longest Palindromic Substring (Intermediate)
- Valid Anagram (Basic)
- Power of Two (Basic)
- Number of One Bits (Basic)
- Fibonacci Number (Basic)
- Sort Colors (Basic)
- Third Maximum Number (Basic)
- Daily Temperatures (Intermediate)
- Reverse Words in a String (Basic)
- Count Primes (Intermediate)
- Counting Bits (Intermediate)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Last Stone Weight (Intermediate)
- Maximum Product of Three (Basic)
- Compare Version Numbers (Intermediate)
- Find K Closest Elements (Intermediate)
- Maximum Events Attended (Intermediate)
- Minimum Knight Moves (Intermediate)
- Tree Nodes at Distance K (Advanced)
- Tree Diameter (Advanced)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Minimum Path Sum (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Counting Bits (Basic)
- Course Schedule Feasible (Intermediate)
- Network Delay Time (Advanced)
- LRU Cache Operations (Basic)
- Sparse Vector Dot Product (Intermediate)
- Sliding Puzzle Solver (Basic)
- Reverse Linked List (Basic)
- Merge Two Sorted Lists (Basic)
- Palindrome Linked List (Basic)
- Middle of the Linked List (Basic)
- Merge In Between Linked Lists (Intermediate)
- Number of Islands (Basic)
- Rotting Oranges (Intermediate)
- Course Schedule Order (Intermediate)
- Maximal Square (Intermediate)
- String Compression (Basic)
- String to Integer (Intermediate)
- Integer to English Words (Advanced)
- Min Stack Operations (Basic)
- Simplify Path (Intermediate)
- Asteroid Collision (Intermediate)
- Number of Visible People in a Queue (Advanced)
- Design Circular Queue (Intermediate)
- Task Scheduler (Intermediate)
- Rotate Image (Intermediate)
- H-Index (Intermediate)
- 3Sum Triplets (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Median of Two Sorted Arrays (Advanced)
- Rectangle Area (Intermediate)
- Letter Combinations of a Phone Number (Intermediate)
- Restore IP Addresses (Intermediate)
- Memory Allocator (Intermediate)
- Max Points on a Line (Advanced)
Related
- Nvidia basic problems
- Nvidia intermediate problems
- Nvidia advanced problems
- Nvidia Array problems
- Nvidia String problems
- Nvidia Hash Table problems
- Nvidia Sorting problems
- Nvidia Math problems
- Company interview roadmaps
- All interview guides
Frequently asked questions
How should I use the Nvidia problem list?
Start with the basic problems, then the intermediate and advanced ones, and note which topics repeat. Solve each under a timer, then read the explanation.
Are these the exact Nvidia interview questions?
They are problems candidates reported being asked. Companies rotate questions, so use them to learn the patterns, not to predict the exact question.