mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 01:18:23 +08:00
Added Implementation of Selection Sort
This commit is contained in:
@ -27,7 +27,7 @@ function selectionSort(items) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//Implementation of bubbleSort
|
//Implementation of Selection Sort
|
||||||
|
|
||||||
var ar = [5, 6, 7, 8, 1, 2, 12, 14];
|
var ar = [5, 6, 7, 8, 1, 2, 12, 14];
|
||||||
//Array before Sort
|
//Array before Sort
|
||||||
|
Reference in New Issue
Block a user