How many comparisons are needed to sort an array of length 5 if a straight…
ISRO Scientist/Engineer SC · 2008 · Computer Science
How many comparisons are needed to sort an array of length 5 if a straight selection sort is used and array is already in the opposite order?
- A.
1
- B.
10
- C.
15
- D.
20
Attempted by 1550 students.
Show answer
Correct answer: B
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…