Where are the data structures? [0]
MIN := X[N]; k := N;
for j := N-1 step -1 until 1 do
if X[j] < MIN then
begin MIN := X[j]; k := j;
end;
[0] https://assets.cs.ncl.ac.uk/seminars/139.pdf