about | help | code help+videos | done | prefs |
Do ONLY the first swap in a selection sort. There will be at least 1 element in the array. selectSortOne([2, 5, 4, 8, 7, 1, 6]) → [1, 5, 4, 8, 7, 2, 6] selectSortOne([3, 2, 1]) → [1, 2, 3] selectSortOne([4]) → [4] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 201 Post-solution available
Copyright Nick Parlante 2017 - privacy