If we modify the PARTITION to use SELECT algorithm given in clrs to find
median and partition the array about it, then i think it will be O(nlogn)
worst case, because the array will be perfectly divided into 2 equal size
arrays each time. But is the practical implementation of SELECT that fast?

-- 
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