Data Update
This commit is contained in:
parent
e50b5c3114
commit
633b36288a
206 changed files with 4762 additions and 965 deletions
|
|
@ -3,7 +3,7 @@ let rec ssort = function
|
|||
| x::xs ->
|
||||
let min, rest =
|
||||
List.fold (fun (min,acc) x ->
|
||||
if h<min then (h, min::acc)
|
||||
else (min, h::acc))
|
||||
if x<min then (x, min::acc)
|
||||
else (min, x::acc))
|
||||
(x, []) xs
|
||||
in min::ssort rest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue