engineering recuitment NIC NIELIT Scientist B 2023 Mock Test Algorithms Searching, Sorting and Hashing Sorting
Consider the following statements
1. Insertion Sort and Merge Sort are stable.
2. Heap Sort is inherently unstable.
3. Selection Sort is not inherently stable, but may be coded in such a way that it is stable1
Only statement 1 and 2 is correct
2
Statement 3 is not correct
3
Only statement 1 is correct
4
All statements are correct