Heap's algorithmHeap's algorithm
Common
Rarity: Common
The most frequent rarity: most Wikipedia articles become Commons.
Rarity follows how well known the article is: its views on the French and English Wikipedia over a year, and the number of languages it exists in.
At a glance
- Class
- Notion
- Domain
- Science and technology
- In collections
- Nobody has pulled it yet.
What Wikipedia says
Heap's algorithm generates all possible permutations of n objects. It was first proposed by B. R. Heap in 1963. The algorithm minimizes movement: it generates each permutation from the previous one by interchanging a single pair of elements; the other n−2 elements are not disturbed.
Excerpt from the Wikipedia article “Heap's algorithm”, under the CC BY-SA 4.0 license. Read the article on Wikipedia
Image: Torsten Mütze, CC BY-SA 4.0, via Wikimedia Commons.
Open free boosters and add Heap's algorithm to your collection.
Play for free




