Skip to content

iasjem/selection-sort-algorithm-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Selection Sort Algorithm (Java version)

Selection Sort Algorithm

  • Demonstrates how a Selection Sort Algorithm works
  • The sort algorithm starts with leftmost part of the array
  • If the selected value is greater than the value of n (the value being compared), swap it.
  • Otherwise, select n and move to next position of elements
  • Created to simply practice coding in Java

Created by IasJem