- Time : O(n^2)
- Space : O(1)
c++
1 | vector<int> selectionSort(vector<int> array) { |