Q.

What is the number of swaps required to sort n elements using selection sort, in the worst case?

A. Θ(n)
B. Θ(n log n)
C. Θ(n2)
D. Θ(n2 log n)
Answer» A. Θ(n)
695
0
Do you find this helpful?
4

Discussion

No comments yet