[Tutor] stable algorithm

David Hláčik david at hlacik.eu
Sun Dec 14 17:09:28 CET 2008


> def sort(numbers):
>        "sort n positive integers in O(n) provided that they are all < n^2"

Sorry about wrong comment, should be range from [1 to n^2] not only < n^2.

D.


More information about the Tutor mailing list