Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zamalek
· 11y ago · 0 comments
Another option is to use a factoradic[1]. The advantage with a factoradic is that you can index directly to any permutation without having to find its predecessor first.
[1]:
http://en.wikipedia.org/wiki/Factorial_number_system
Comments
[–]
jacksontale
11y ago
Yeah, factoradic is awesome.