2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
|
|
@ -1,9 +1,12 @@
|
|||
{{Sorting Algorithm}}
|
||||
{{omit from|GUISS}}
|
||||
Permutation sort, which proceeds by generating the possible permutations
|
||||
|
||||
;Task:
|
||||
Implement a permutation sort, which proceeds by generating the possible permutations
|
||||
of the input array/list until discovering the sorted one.
|
||||
|
||||
Pseudocode:
|
||||
'''while not''' InOrder(list) '''do'''
|
||||
nextPermutation(list)
|
||||
'''done'''
|
||||
<br><br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue