sure, ES6 changes everything!
holy crap, this is clever!!!
Thanks, I appreciate it.
Published a Ruby translation.
A few more test cases (large and negative numbers might be good).
Many better solutions available than this one... all I did was find a way to make permutations sufficiently tractible in the time, but only works for a subset of bignums. (edit: redid this solution later)
Loading collection data...
sure, ES6 changes everything!
holy crap, this is clever!!!
Thanks, I appreciate it.
Published a Ruby translation.
A few more test cases (large and negative numbers might be good).
Many better solutions available than this one... all I did was find a way to make permutations sufficiently tractible in the time, but only works for a subset of bignums. (edit: redid this solution later)