Generate unique ID for incoming stream
Filed under DotPe
The question
Generate a unique ID for numbers in a stream without storing previous mappings. If a number repeats, it must get a new unique ID.
No write-up yet. Related questions below have one.
Collected from public candidate posts and coding forums. Updated Nov 2026.