Advertisements
Advertisements
प्रश्न
In which of the following scenarios will you use a selection sort?
पर्याय
When you have to sort small number of large values
When you have to sort large number of small values
When the list is already sorted
For sorting huge files
MCQ
उत्तर
When you have to sort small number of large values
Explanation:
For small numbers of elements, regardless of element value, selection sort is ideal.
shaalaa.com
Selection Sort
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?