GATEverse Practice, past papers & mock tests
GATE 2025 · session-5
Programming, Data Structures and AlgorithmsInsertion SortmediumMSQ1 mark
Suppose that insertion sort is applied to the array \( [1, 3, 5, 7, 9, 11, x, 15, 13] \) and it takes exactly two swaps to sort the array. Select all possible values of \( x \).

Select every correct option.

Save your progress

Related Programming, Data Structures and Algorithms PYQs