for sort you have to traverse array atleast once ..and after it some sorting procedure will come.
On Fri, Jul 9, 2010 at 12:55 PM, Devendra Pratap Singh < [email protected]> wrote: > plz write a code to > > Sort n integer in the range 1 to n^2 in O(n) > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
