What algorithm does the following pseudocode perform?
Declare Integer startScan Declare Integer minIndex Declare Integer minValue Declare Integer index For startScan = 0 To arraySize – 2 Set minIndex = startScan Set minValue = array[startScan] For index = startScan + 1 To arraySize – 1 If array[index]<minValue Set minValue = array[index] Set minIndex = index End If End For Call swap(array[minIndex], array[startScan]) End For
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.