What could be the best way to generate a unique integer from n integers in order (n1,n2,…)?
Further, from n, we should be able to get back each n1,n2,… etc.
For example, from n1=120,n2=135,n3=789,n4=980, we need a number n. And from n, we should be able to get back numbers n1=120,n2=135,n3=789,n4=980. For the sake of computation effort, it would be better if we could generate as much small number as possible.
Thank you.
No comments:
Post a Comment