about | help | code help+videos | done | prefs |
Given an integer array, sort it from least to greatest using the Selection Sort Algorithm. If you do not solve it using Selection Sort, then you will not receive credit. sort_selectionSort([3, 2, 1]) → [1, 2, 3] sort_selectionSort([5, 4, 9, 6, 8, 4, 2, 5, 1, 2, 5, 3, 2, 1]) → [1, 1, 2, 2, 2, 3, 4, 4, 5, 5, 5, 6, 8, 9] sort_selectionSort([1, 1, 2, 2, 2, 3, 4, 4, 5, 5, 5, 6, 8, 9]) → [1, 1, 2, 2, 2, 3, 4, 4, 5, 5, 5, 6, 8, 9] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy