Assign unique usernames by appending the smallest integer
Filed under Cloudera
The question
Given usernames requested in order, return unique names: a repeated request gets the base string plus the smallest positive integer producing an unused name.
No write-up yet. Related questions below have one.
Related Cloudera questions
Collected from public candidate posts and coding forums. Updated Nov 2026.