Computer Science - Algorithms - Selection sort - Selection Sort Algorithm

4 steps. Step 1 'How It Works': Find the minimum in the unsorted portion. Swap it with the first unsorted element. The sorted portion grows by one each time. Repeat until everything is sorted. Step 2 'Walkthrough': [64, 25, 12, 22, 11]. Pass 1: min=11 at index 4, swap with index 0 → [11, 25, 12, 22,

Edodovivmagarwal
Computer Science - Algorithms - Selection sort - Selection Sort Algorithm
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Algorithms - Selection sort - Selection Sort Algorithm

vivmagarwal
vivmagarwalJan 29, 2026

Description

4 steps. Step 1 'How It Works': Find the minimum in the unsorted portion. Swap it with the first unsorted element. The sorted portion grows by one each time. Repeat until everything is sorted. Step 2 'Walkthrough': [64, 25, 12, 22, 11]. Pass 1: min=11 at index 4, swap with index 0 → [11, 25, 12, 22,

Details

Computer ScienceAlgorithmsClass 10, Class 10, Grade 10, Stage 10, MYP Year 5

Engagement

18

Likes

0

Remixes

0

Comments