If the list in the accompanying figure was sorted using selection sort, which two elements would be swapped first?
A. 5 and 16
B. 65 and 16
C. 5 and 45
D. 7 and 30
Answer: A
Computer Science & Information Technology
A. 5 and 16
B. 65 and 16
C. 5 and 45
D. 7 and 30
Answer: A