I am working on a project where I need to assign some people with an unique ID.
Now I have this requirement that, based on those IDs, I need to generate a set of unique numbers. No two IDs should result in the same set, and the intersection of sets from any two IDs should be empty.
How am I supposed to achieve this? Suggest an algorithm for this.