Radix sort _is_ dependent on the length of keys.  If the radix is R,
then the sort must make ceiling(log_R(k)) passes over the data.
Increasing the R to decrease the number of passes has a storage cost:
you need R buckets.

On Oct 2, 3:04 pm, Mridul Malpani <malpanimri...@gmail.com> wrote:
> Radix sort is independent of the range and only depends on the number
> of items.
>
> here  k=max value= n^3.
>  since , radix sort is independent of k, so here also it sorts "n
> integers" in  O(n).
>
> On Oct 2, 10:38 pm, "Harshal ..Bet oN iT!!" <hc4...@gmail.com> wrote:
>
>
>
> > this theorem is true for comparision sorts only! counting sort is not a
> > comparison sort.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to