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,6 +1,11 @@
{{sorting Algorithm}}{{wikipedia|Stooge sort}}
{{sorting Algorithm}}
{{wikipedia|Stooge sort}}
{{omit from|GUISS}}
Show the [[wp:Stooge sort|Stooge Sort]] for an array of integers.
;Task:
Show the   [[wp:Stooge sort|Stooge Sort]]   for an array of integers.
The Stooge Sort algorithm is as follows:
<b>algorithm</b> stoogesort(<b>array</b> L, i = 0, j = <b>length</b>(L)-1)
@ -12,3 +17,4 @@ The Stooge Sort algorithm is as follows:
stoogesort(L, i+t, j )
stoogesort(L, i , j-t)
<b>return</b> L
<br><br>