Discourses on computers, software, and mathematics.

See the Git repository.

Copyright © 2015-2020 Bernardo Sulzbach

I have written about algorithms that generate permutations.

There is this blog post about Heapâ€™s algorithm.

There is also this post about another algorithm.

Lastly, if you need pseudorandom permutations, you can use Fisher-Yates shuffling.