RRB Junior Engineer / DMS / CMA 2019 · Question 3583 of 3719
Concept The stability of a sorting algorithm is concerned with how the algorithm treats equal (or repeated) elements. A sorting algorithm is said to be stable if two objects with equal keys (primary key) appear in the same order in sorted list as they appear in the original unsorted list. Explanation: Some sorting algorithms are stable by nature like Insertion sort, Merge Sort, Bubble Sort, etc. And some sorting algorithms are not, like Heap Sort, Quick Sort, etc.
Source: RRB JE 2019 (CBT 2) (IT) Previous Year Paper (30 Aug 2019) — prepp.in solved-paper PDF (answer key with explanations) · reliable-secondary
Practice the full RRB Junior Engineer / DMS / CMA 2019 paper
Timed test with all 3719 questions, just like the real exam.
Start test