diff --git a/ss.py b/ss.py new file mode 100644 index 0000000..4830ce7 --- /dev/null +++ b/ss.py @@ -0,0 +1,17 @@ +def selection_sort(array): + length = len(array) + + for i in range(length-1): + minIndex = i + + for j in range(i+1, length): + if array[j]