News for hackers. Stuff that matters.
Re:Why does Heap's algorithm work? (2016) by 8bitpimp on Saturday July 01, 2017 @08:13PM (#14679910)
I have converted the presented algorythm to a non-recursive yielding version for what its worth:

https://gist.github.com/8BitPimp/fb182d04f6c31cabdceb20f714b...

Re:Why does Heap's algorithm work? (2016) by mrrusof on Sunday July 02, 2017 @02:54PM (#14683807)
Hey, thanks for sharing. I put a reference to your gist in the post for posterity's sake.