+1 vote
in Data Structures & Algorithms II by (110k points)
What is the disadvantage of selection sort?

(a) It requires auxiliary memory

(b) It is not scalable

(c) It can be used for small keys

(d) It takes linear time to sort the elements

The question was posed to me in an interview for internship.

The query is from Selection Sort topic in section Sorting of Data Structures & Algorithms II

1 Answer

+1 vote
by (614k points)
selected by
 
Best answer
The correct answer is (b) It is not scalable

The explanation is: As the input size increases, the performance of selection sort decreases.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...