NVIDIA SDE-3 coding interview questions
These are the 6 coding questions YourAlly has tagged for NVIDIA at SDE-3. SDE-3 is the common India title for this level. YourAlly treats it as Senior, the same level as Google L5, Meta E5 and Amazon L6.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.
Practice a mock NVIDIA SDE-3 coding loopPractice NVIDIA coding questions
Convert COO Entries to CSRFree to read
Given a sparse matrix as unordered coordinate triples (row, col, value) that may repeat, build its compressed sparse row form. Sum repeated cells, drop cells whose sum is 0, and sort columns within each row.
Input: num_rows = 3, rows = [0,2,1,0], cols = [1,0,2,0], values = [5,7,3,2] Output: [[0,2,3,4],[0,1,2,0],[2,5,3,7]]
What a strong answer covers
- Duplicate summing keyed by (row, col)
- Dropping cells that sum to zero
- Row counts converted to row_ptr by prefix sum
- Columns sorted within each row
- Correct row_ptr length of num_rows + 1
5 more coding questions
- Buddy Allocator for Device Memory Locked
- Dynamic Batcher Completion Times Locked
- Pipeline Stages Under a Memory Cap Locked
- Shared Memory Bank Transactions Locked
- Stream Kernel Makespan Locked
Related pages
More NVIDIA SDE-3 rounds
- System design 4 questions
- Behavioral 29 questions
NVIDIA coding at other levels
- Principal 3 questions
- Senior Principal 3 questions
Other companies at this level
- Adobe SDE-3 7 questions
- Amazon SDE-3 10 questions
- Apple SDE-3 7 questions
- Cisco SDE-3 6 questions
- Google SDE-3 14 questions
- IBM SDE-3 6 questions