Selection Sort

Home

The Selection Sort Algorithm

Introduction

Selection Sort is a straightforward and efficient sorting algorithm that works by repeatedly selecting the smallest (or largest) element from the unsorted portion of a list and moving it to the sorted portion

The Algorithm

Bubble Sort UML Activity Diagram

Analysis