Selection Sort Visualization


Selection sort algorithm animation and implementation.

Comparisons are blue,
swaps are red.

On two occasions I have been asked, ‘If you put into the machine wrong figures, will the right answers come out?’ I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.

Charles Babbage