1.

Quick sort uses which of the following method to implement sorting?(a) merging(b) partitioning(c) selection(d) exchangingThis question was addressed to me by my college professor while I was bunking the class.The doubt is from Sorting topic in portion Sorting of Data Structures & Algorithms II

Answer»

The correct choice is (b) partitioning

For EXPLANATION: Quick SORT makes partitions of the input array about the pivot in order to IMPLEMENT SORTING. Thus its method of sorting is CALLED partitioning.



Discussion

No Comment Found

Related InterviewSolutions