ple Choices
(Choose 1 answer)
Select the most correct statement:
A. In all cases the selection sort is O(n^2).
B. In the worst case the selection sort is O(n^2), in the best case it is O(n).
C. In the worst case the selection sort is O(n^2), in the best case it is O(nlog n).
D. In the average case the selection sort is O(n^2), in the best case it is O(nlog n).
I want to nisin the exam.