← Questions

Check and insert among a million user IDs

0
MercorSystem designLast asked Oct 2026

A system design interview question asked in Mercor's technical phone screen, last asked Oct 2026. It tests hashing, bloom filters and memory.

A service keeps a set of about one million user IDs. Every request carries a user ID: the service must say whether the ID is already in the set and, if it isn't, add it.

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 · bloom filters · memory · latency

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