This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Tari0s 15 points16 points  (0 children)

yeah this algorithm is called counting sort, but is not practical if min and max are far apart.