

MCQOPTIONS
Saved Bookmarks
1. |
In selection sort of n elements,how many times is the swp function called in the complete execution of the algorithm? |
A. | 1 |
B. | n-1 |
C. | n(n-1)/2 |
D. | none of these |
Answer» C. n(n-1)/2 | |