Which of the following sorting algorithm is used by C++ internally?

Which of the following sorting algorithm is used by C++ internally?
A. quicksort
B. introsort
C. merge sort
D. heap sort
 
Answer: b
Explanation: Introsort is the in built sorting algorithm used by C++. It is an example of a hybrid sorting algorithm which means it uses more than one sorting algorithm as a routine.
 

Tìm kiếm

Back
Top