Re: seeking help with an algorithm

Tech-Archive recommends: Fix windows errors by optimizing your registry





"Bruno Jouhier [MVP]" wrote:

> Just add a random positive number at every step, and encode in base 36 (10 +
> 26). Something like:
>
> i += Math.Abs(Random.NextInt() % MaxIncrement)
> str = Encode36(i);

I don't think this will satisfy the uniqueness constraint the original
poster wanted though.
.



Relevant Pages