Sorting algorithms/Gnome sort: Difference between revisions
m
→{{header|Arturo}}
m (→{{header|Phix}}: added syntax colouring the hard way) |
Drkameleon (talk | contribs) |
||
Line 562:
arr: new items
while [i < size arr][
if?
i: j
j: j + 1
]
else [
tmp: arr
i: i-1
if i=0 [
|