News for hackers. Stuff that matters.
Re:Cycle Sort by tsewlliw on Monday November 22, 2010 @11:30AM (#1930309)
If you must restrict the input to permutations of [0,...,N], you already know the result! Finding cycles is neat, but this works for the same data, minus having bounds:

(define (trivialsort vals) (lambda (i) i))

There are no comments on this comment yet.