Sail E0 Webinar
Question
What is the average case complexity of selection sort?
Options:
A .  O(nlogn)
B .  O(logn)
C .  O(n)
D .  O(n2)
Answer: Option D


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.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers