Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -3,11 +3,10 @@ gnomeSort: function [items][
|
|||
j: 2
|
||||
arr: new items
|
||||
while [i < size arr][
|
||||
if? arr\[i-1] =< arr\[i] [
|
||||
switch arr\[i-1] =< arr\[i] [
|
||||
i: j
|
||||
j: j + 1
|
||||
]
|
||||
else [
|
||||
][
|
||||
tmp: arr\[i]
|
||||
arr\[i]: arr\[i-1]
|
||||
arr\[i-1]: tmp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue