0
/ 1.0
The following method is a Selection Sort method. Within the method, there is an error on one line. You job is to find that line and fix...
The following method is a Selection Sort method. Within the method, there is an error on one line. You job is to find that line and fix that one error so that the method may work properly. You will need to understand exactly how a selection sort method works.
Examples:
selectionSort({4,7,1}) -> {1,4,7}
selectionSort({80,6,6,8,2}) -> {2,6,6,8,80}
Your feedback will appear here when you check your answer.