Sorting algorithms/Stooge sort: Difference between revisions
m
Undo revision 273214 by Chunes (talk) -- the algorithm already accounts for the need to round up
m (→{{header|Factor}}: fix flaw in sort size calculation. Needs to be rounded *up* per wikipedia) |
|||
Line 623:
] when
j i - 1 > [
j i - 1 + 3 /
seq i j t - (stooge-sort)
seq i t + j (stooge-sort)
|