3 ms·
Why does Heap's algorithm work? (2016)
- DroidX86 9y agoNice explanation!
- mrrusof 9y agoThank you!
- beeforpork 9y agoReminds me of bell ringing.
- 8bitpimp 9y agoI have converted the presented algorythm to a non-recursive yielding version for what its worth: https://gist.github.com/8BitPimp/fb182d04f6c31cabdceb20f714ba8395 https://gist.github.com/8BitPimp/fb182d04f6c31cabdceb20f714b...
- mrrusof 9y agoHey, thanks for sharing. I put a reference to your gist in the post for posterity's sake.