Re: sort algorithm
- From: Juha Nieminen <nospam@xxxxxxxxxxxxxx>
- Date: Thu, 31 Jul 2008 20:39:30 GMT
Richard Heathfield wrote:
Um, what you call counting sort, I call bucket sort. I'm probably abusing
the term.
Bucket sort is a completely different sorting algorithm.
http://en.wikipedia.org/wiki/Bucket_sort
Another one which you might be interested in is radix sort. It has the
same principle as counting sort, but it works with larger value ranges.
(The problem with counting sort is that if the value range is very
large, the counting array needs to be enormous, which can become
counter-productive. Radix-sort addresses this problem, basically by
performing counting sort in two or more passes.)
.
- Follow-Ups:
- Re: sort algorithm
- From: Richard Heathfield
- Re: sort algorithm
- References:
- sort algorithm
- From: Limbo
- Re: sort algorithm
- From: Richard Heathfield
- Re: sort algorithm
- From: Juha Nieminen
- Re: sort algorithm
- From: Richard Heathfield
- sort algorithm
- Prev by Date: Re: sort algorithm
- Next by Date: Re: sort algorithm
- Previous by thread: Re: sort algorithm
- Next by thread: Re: sort algorithm
- Index(es):
Relevant Pages
|