O(n) for unsorted array?? this essentially means that we need to sort the array using counting sort and then give the index of middle element.
On Jul 3, 10:59 pm, jalaj jaiswal <[email protected]> wrote: > how to find median of an array (unsorted) in O(n) > > please explain the algo.. m nt able to understand it fully.. i read on net > > -- > With Regards, > Jalaj Jaiswal > +919026283397 > B.TECH IT > IIIT ALLAHABAD -- 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.
