Design an ID allocation service
Filed under Microsoft
The question
Design a class that manages and provides IDs to different parts of an application, ensuring that a single ID can only be used by one caller at a time and handling authorization queries.
No write-up yet. Related questions below have one.
Related Microsoft questions
Collected from public candidate posts and coding forums. Updated Nov 2026.