Sorting algorithms/Radix sort: Difference between revisions
Content added Content deleted
Line 3,525: | Line 3,525: | ||
<lang Scheme>;;; An illustrative implementation of the radix-10 example at |
<lang Scheme>;;; An illustrative implementation of the radix-10 example at |
||
;;; https://en.wikipedia.org/w/index.php?title=Radix_sort&oldid=1070890278#Least_significant_digit |
;;; https://en.wikipedia.org/w/index.php?title=Radix_sort&oldid=1070890278#Least_significant_digit |
||
;;; |
|||
;;; This version sorts 9's-complements of the additive inverses of the |
|||
;;; integers, when converts the numbers back. |
|||
(cond-expand |
(cond-expand |