Nvidia Array Coding Interview Questions
50 array coding problems are tagged as asked at Nvidia in interviews and online assessments reported by candidates. By difficulty they split into 12 basic, 30 intermediate and 8 advanced. The topics they most often combine with are Hash Table, Sorting, Sliding Window, Greedy.
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)
- Product of Array Except Self (Intermediate)
- Move Zeroes (Basic)
- House Robber (Intermediate)
- Longest Increasing Subsequence (Advanced)
- 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)
- Sort Colors (Basic)
- Third Maximum Number (Basic)
- Daily Temperatures (Intermediate)
- Search in a Rotated Sorted Array (Advanced)
- Merge Intervals (Intermediate)
- Last Stone Weight (Intermediate)
- Maximum Product of Three (Basic)
- Find K Closest Elements (Intermediate)
- Maximum Events Attended (Intermediate)
- Maximum Product Subarray (Intermediate)
- Subarray Sum Equals K (Intermediate)
- Container With Most Water (Intermediate)
- Top K Frequent Values (Intermediate)
- Course Schedule Feasible (Intermediate)
- Network Delay Time (Advanced)
- LRU Cache Operations (Basic)
- Sparse Vector Dot Product (Intermediate)
- Course Schedule Order (Intermediate)
- Min Stack Operations (Basic)
- Asteroid Collision (Intermediate)
- Number of Visible People in a Queue (Advanced)
- Design Circular Queue (Intermediate)
- H-Index (Intermediate)
- 3Sum Triplets (Intermediate)
- Sliding Window Maximum Values (Advanced)
- Median of Two Sorted Arrays (Advanced)
- Rectangle Area (Intermediate)
- Memory Allocator (Intermediate)
- Max Points on a Line (Advanced)
- Longest Cycle in a Functional Graph (Intermediate)
- Number of Lines to Write String (Basic)
- Number of Ways to Split Array (Basic)
- Remove Stones to Minimize the Total (Intermediate)
- Task Scheduler II (Intermediate)
- Running Median of Stream (Intermediate)
Related
- Nvidia coding interview questions
- Array problems
- Nvidia basic problems
- Nvidia intermediate problems
- Nvidia advanced 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.