A list is ordered from smaller to largest when a sort is
called. Which sort would take the longest time to execute?

Answer Posted / udkl

Its Quick Sort !!!!!
Even I got Surpriced!!!


http://www.geocities.com/siliconvalley/network/1854/Sort1.
html

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is vector and types of vector?

487


Define a full binary tree ?

530


How to sequentially represent max-heap?

524


How will you free the memory that is allocated at run time?

532


What is array and its types?

553






Describe the complexity of Quick Sort

552


What is difference between hashmap and treemap?

496


How to use appendNode() in linkedlist()?

662


Is char array null terminated?

491


What is the difference between array list and vector list?

505


Which is better selection or bubble sort?

496


What do you mean by quadratic probing?

560


Why would we use dynamically allocated arrays vs vectors?

444


What is the difference between data type and data structure?

462


Why do we need sorting algorithms?

507