Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPrep Other Coding Questions Asked by Nvidia
Continue with targeted prep from Nvidia's coding question bank.
Interview Summary
The NVIDIA Senior SWE phone screen focused on implementing a GPU-style hash partition algorithm in C++. Given an input array and P partitions, the task was to assign elements to partitions using a hash function and compute the offsets needed to lay out each partition in the output.
Interview Details
Coding — GPU Hash Partition
You are given:
- An input array
Poutput partitions- A hash function that determines which partition each element belongs to
Implement a hash-partition operation in C++. The output needs to group elements belonging to the same partition together and provide the corresponding partition offsets. The implementation was structured in several passes.
Step 1 — Build the Histogram
First scan the input and determine how many elements belong to each partition. Conceptually
Unlock Full Details
Create a free account to unlock this interview experience report.