Selection Sort questions

Q45

GATE DA 2024 DASearching and SortingMCQ2 marks−2/3 if wrong

Report a problem with Q45

What is wrong?
Consider the following sorting algorithms:

(i) Bubble sort
(ii) Insertion sort
(iii) Selection sort

Which ONE among the following choices of sorting algorithms sorts the numbers in the array [4, 3, 2, 1, 5] in increasing order after exactly two passes over the array?
Show answer without attempting

Loading the answer…

0/10 correct0 marks

Related topics in Searching and Sorting