All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Selection sort?

Definition 28.4 Primary & Middle School Computer Science · Chapter 28 — Searching and Sorting

Selection sort finds the smallest item of a list and swaps it to the front, then does the same on the rest of the list, one position further each time.

Selection sort on 6 cards: after each pass, one more card (green) is in its final place.
Selection sort on 6 cards: after each pass, one more card (green) is in its final place.
Read in context →