Computer-Networks
October 28, 2023
Database-Management-System
October 28, 2023
Computer-Networks
October 28, 2023
Database-Management-System
October 28, 2023

Sorting

Question 32

What is meant by stable sorting algorithm?

A
A sorting algorithm is stable if it preserves the order of all keys
B
A sorting algorithm is stable if it preserves the order of non-duplicate keys
C
A sorting algorithm is stable if it preserves the order of duplicate keys
D
A sorting algorithm is stable if it doesn’t preserve the order of duplicate keys
Question 32 Explanation: 
A sorting algorithm is called stable if it preserves the order of duplicate keys.
The examples of sorting algorithms are insertion sort,merge sort,counting sort etc.
Correct Answer: C
Question 32 Explanation: 
A sorting algorithm is called stable if it preserves the order of duplicate keys.
The examples of sorting algorithms are insertion sort,merge sort,counting sort etc.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!