Which sorting is stable?
Answer / Syed Azeem Arshad
Sorting algorithms that maintain the relative order of equal elements are called stable sorts. Examples include merge sort, insertion sort, and shell sort. Quick sort is not considered a stable sort because it uses an arbitrary choice of pivot, which can lead to swapping of equal elements.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is raid (redundant array of inexpensive disks)?
Are sets sorted?
Is queue fifo or lifo?
What are the parts of root node?
Why is hashmap faster than arraylist?
Is pointer a variable in data structure?
What are the parts of a linked list?
what is AVL tree?
Explain what is B-tree?
Can we extend an array after initialization?
What is data structures in computer science?
Define avl tree?