Question 6
Consider the below function for selection sort algorithm.
Assume that the list L=[15, 12, 18, 13, 11] is passed to the function selectionsort() as parameter.
What will be the list L after the second pass of selection sort?
[11, 15, 18, 13, 12]
[15, 12, 18, 13, 11]
[11, 12, 18, 13, 15]
[11, 12, 13, 15, 18]