2016 Update

This commit is contained in:
Tina Müller 2016-12-05 22:15:40 +01:00
parent 948b86eafa
commit dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions

View file

@ -1,5 +1,9 @@
{{Sorting Algorithm}}
Sort an array of integers (of any convenient size) into ascending order using [[wp:Pancake sorting|Pancake sorting]]. In short, instead of individual elements being sorted, the only operation allowed is to "flip" one end of the list, like so:
;Task:
Sort an array of integers (of any convenient size) into ascending order using [[wp:Pancake sorting|Pancake sorting]].
In short, instead of individual elements being sorted, the only operation allowed is to "flip" one end of the list, like so:
Before:
'''6 7 8 9''' 2 5 3 4 1
After:
@ -14,3 +18,4 @@ For more information on pancake sorting, see [[wp:Pancake sorting|the Wikipedia
See also:
* [[Number reversal game]]
* [[Topswops]]
<br><br>