N Nam Phong New member Sep 16, 2021 #1 What is the average case complexity of selection sort? A. O(nlogn) B. O(logn) C. O D. O(n$^{2}$)
D Duyên Trương New member Sep 16, 2021 #2 Answer: D Explanation: In the average case, even if the input is partially sorted, selection sort behaves as if the entire array is not sorted. Selection sort is insensitive to input. Upvote 0 Downvote
Answer: D Explanation: In the average case, even if the input is partially sorted, selection sort behaves as if the entire array is not sorted. Selection sort is insensitive to input.