Skip to content

Commit 9521487

Browse files
committed
Daily Challenge
1 parent 7fb7c5f commit 9521487

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

026_Selection_sort.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""Selection Sort
2+
3+
Write a function that takes in an array of integers and returns a sorted version of that array. Use the Selection Sort algorithm to sort the array.
4+
5+
Sample input: [8, 5, 2, 9, 5, 6, 3]
6+
Sample output: [2, 3, 5, 5, 6, 8, 9]"""
7+

0 commit comments

Comments
 (0)