Is quicksort a stable algorithm?



Is quicksort a stable algorithm?..

Answer / Shashi Shankar

No, QuickSort is an unstable sorting algorithm. It does not preserve the relative order of equal elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Can we insert null in hashset?

1 Answers  


Is vector a collection?

1 Answers  


What is binary search in programming?

1 Answers  


Is array immutable?

1 Answers  


What is a directed graph?

1 Answers  


How can I study data structures and algorithms?

1 Answers  


Is a hashmap a dictionary?

1 Answers  


How do you reference all the elements in a one-dimension array?

1 Answers  


What is a static structure?

1 Answers  


What do you understand by stable sort?

1 Answers  


Define adjacent nodes?

1 Answers  


What is meant by binary tree?

1 Answers  


Categories