2 ms·
There's always the combinatorial number system. But it might be more effort than it's worth. As others have pointed out you can also just make the k^th hash pi
by contravariant 6y ago
There's always the combinatorial number system. But it might be more effort than it's worth.
As others have pointed out you can also just make the k^th hash pick any of the n-k remaining options.