Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Why does Heap's algorithm work? (2016)
(
ruslanledesma.com
)
124 points
by
signa11
on July 1, 2017
|
hide
|
past
|
favorite
|
5 comments
8bitpimp
on July 2, 2017
|
next
[–]
I have converted the presented algorythm to a non-recursive yielding version for what its worth:
https://gist.github.com/8BitPimp/fb182d04f6c31cabdceb20f714b...
mrrusof
on July 2, 2017
|
parent
|
next
[–]
Hey, thanks for sharing. I put a reference to your gist in the post for posterity's sake.
beeforpork
on July 1, 2017
|
prev
|
next
[–]
Reminds me of bell ringing.
DroidX86
on July 1, 2017
|
prev
[–]
Nice explanation!
mrrusof
on July 2, 2017
|
parent
[–]
Thank you!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://gist.github.com/8BitPimp/fb182d04f6c31cabdceb20f714b...