Math, asked by sreejithadi8765, 1 year ago

Example of insertion sort as a stable sort

Answers

Answered by Vanshita611
1
Two keys appear in same order
Answered by tejasri2
2
A sorting algorithm is said to be stableif two objects with equal keys appear in the same order in sorted output as they appear in the input unsorted array.

Some sorting algorithms are stable by nature like Insertion sort, Merge Sort,Bubble Sort, etc.

I hope it helps u.....


Similar questions