0

Dont understand something in Selection Sort Algorithm

Hi everyone, I don't understand a part of this algorithm, why t[min] = 12 whereas t[min] should be equal to 27. Because the first index is 0 so T[0] = 27 Thanks! https://code.sololearn.com/cMglLBQnVGUQ/?ref=app

12th Sep 2019, 1:48 PM
AdL
3 Antworten
0
We don't enter in the if condition when the index of min is 0 ? Because 0 != 1
12th Sep 2019, 2:16 PM
AdL