Selection Sort is a simple comparison-based sorting algorithm.
Idea:
Think of it like:
“Pick the smallest card from the table and place it in order.”
[64, 25, 12, 22, 11]
11
64
[11, 25, 12, 22, 64]
12