Filter by year

Insertion Sort questions

Q29

GATE DA 2025 DASearching and SortingMSQ1 mark

Report a problem with Q29

What is wrong?
Suppose that insertion sort is applied to the array [1,3,5,7,9,11,x,15,13][1, 3, 5, 7, 9, 11, x, 15, 13] and it takes exactly two swaps to sort the array. Select all possible values of xx.
More than one option can be correct.
Show answer without attempting

Loading the answer…

0/10 correct0 marks

Related topics in Searching and Sorting