Permutations: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4,164:
 
=={{header|FutureBasic}}==
Here's a sweet and short solution adapted from Robert Sedgewick's 'Algorithms' (1989, p. 628). It generates its own array of integers.
 
=== With recursion ===
Here's a sweet and short solution adapted from Robert Sedgewick's 'Algorithms' (1989, p. 628). It generates its own array of integers.
 
<syntaxhighlight lang="futurebasic">
 
60

edits