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)
m (Undo revision 273214 by Chunes (talk) -- the algorithm already accounts for the need to round up)
Line 623:
] when
j i - 1 > [
j i - 1 + 3 / ceilingi :> t
seq i j t - (stooge-sort)
seq i t + j (stooge-sort)
1,808

edits