Introsort begins sorting the given array by using which of the following sorting algorithm?

Introsort begins sorting the given array by using which of the following sorting algorithm?
A. selection sort
B. quick sort
C. insertion sort
D. heap sort
 
Answer: b
Explanation: Introsort begins sorting any given array by using quick sort. Then it may switch to heap sort or insertion sort or may stick to quick sort depending upon the size of the partition.
 

Tìm kiếm

Back
Top