Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{{sorting Algorithm}}{{wikipedia|Stooge sort}}Show the [[wp:Stooge sort|Stooge Sort]] for an array of integers. The Stooge Sort algorithm is as follows:
|
||||
{{sorting Algorithm}}{{wikipedia|Stooge sort}}
|
||||
{{omit from|GUISS}}
|
||||
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)
|
||||
<b>if</b> L[j] < L[i] <b>then</b>
|
||||
L[i] <b>↔</b> L[j]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue