What algorithm does the following pseudocode perform?
Declare Integer maxElement
Declare Integer index
For maxElement = arraySize - 1 To 0 Step -1
For index = 0 To maxElement - 1
If array[index] > array[index + 1] Then
Call swap(array[index], array[index + 1])
End If
End For
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.