Selection algorithm: Difference between revisions

Content deleted Content added
Dcoetzee (talk | contribs)
Dcoetzee (talk | contribs)
Line 11:
minIndex := 1
minValue := a[1]
'''for''' i '''from''' 12 '''to''' n
'''if''' a[i] < minValue
minIndex := i