update
This commit is contained in:
parent
1f1ad49427
commit
6f050a029e
2496 changed files with 37609 additions and 3031 deletions
|
|
@ -0,0 +1,5 @@
|
|||
#lang racket
|
||||
(define (selection-sort xs)
|
||||
(cond [(empty? xs) '()]
|
||||
[else (define x0 (apply min xs))
|
||||
(cons x0 (selection-sort (remove x0 xs)))]))
|
||||
Loading…
Add table
Add a link
Reference in a new issue