Ruslan Ledesma-Garza personal blog
Why does Heap's algorithm work? (2016)
Heap's algorithm for constructing all permutations is efficient and simple but not easy to understand. This article explains Heap's algorithm by example.
- Points
- 124
- HN comments
- 5
- Submissions
- 1
- Cited by
- 0 commenters
Math & AlgorithmsSoftware Engineering2017
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 1, 2017 | Why does Heap's algorithm work? (2016) by signa11 | 124 | 5 |