← Questions

Count distinct strings with your own hash table, then on a GPU

0
NvidiaCodingLast asked Jul 2026

A coding interview question asked in Nvidia's technical phone screen, last asked Jul 2026. It tests hashing, gpu and parallelism.

Given an array of strings, return how many distinct strings it contains, without library hash sets, hash maps or other ready-made lookup containers: build the hash table yourself. Then make it correct with many threads inserting at once…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

hashing · gpu · parallelism · strings

Your code and the AI tutor open when you unlock this question.