1.

Which of the following sorting algorithm is used by C++ internally?(a) quicksort(b) introsort(c) merge sort(d) heap sortThe question was asked during a job interview.I'm obligated to ask this question of Sorting topic in section Sorting of Data Structures & Algorithms II

Answer»

Right option is (B) INTROSORT

Easy 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.



Discussion

No Comment Found

Related InterviewSolutions