it is easy to think that worst input for quicksort but not for mergesort. :-(

plz, can someone tell me what is the worst-input about n-size mergesort?

for general n...

I found your answer using google.

i couldn't find it...

could you tell me where you get these information?

anyway, i need to try google it once agiain

:-(

Using this, I found Merge sort. (It was the second link)

commented: Nice find :) +8
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.