
Check and insert among a million user IDsSystem designA service holds about a million user IDs. Each request carries a user ID: if it is not in the set yet, add it. Decide how to store the IDs and run this check-and-insert, and talk…
Last asked Oct 2026













