Skip to content

About

khan academy selection sort implementation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

algorithm-challenge-selection-sort

khan academy selection sort implementation

Write selection sort. Selection sort loops over positions in the array. For each position, it finds the index of the minimum value in the subarray starting at that position. Then it swaps the values at the position and at the minimum index. Write selection sort, making use of the swap and indexOfMinimum functions.

Once implemented, uncomment the Program.assertEqual() at the bottom to verify that the test assertion passes.

About

khan academy selection sort implementation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors