Summary
It is requested to design a program that will generate the N! permutations of the values from 0 through N — 1 in such an order that the transition from one permutation to the next is always performed by exactly one swap of two neighbours.
Similar content being viewed by others
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Dijkstra, E.W. On a gauntlet thrown by David Gries. Acta Informatica 6, 357–359 (1976). https://doi.org/10.1007/BF00268136
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00268136