---
id: 698de9f47932b3cc4b19c941
title: Selection Sort
challengeType: 11
videoId: 6kIttK2RzoU
dashedName: selection-sort
---

# --description--

In this video, you will learn about the selection sort algorithm.

# --questions--

## --text--

How does the selection sort algorithm work?

## --answers--

It repeatedly finds the smallest (or largest) element from the unsorted portion and moves it to the sorted portion.

---

It repeatedly swaps adjacent elements until the entire list is sorted.

---

It randomly shuffles the list until it becomes sorted.

---

It divides the list into halves, sorts each half recursively, and merges them.

## --video-solution--

1
