1.

Which of the following sorting algorithm is in place?(a) brick sort(b) merge sort(c) counting sort(d) radix sortThis question was posed to me during an interview.The query is from Sorting topic in chapter Sorting of Data Structures & Algorithms II

Answer»

The correct answer is (a) BRICK SORT

The best EXPLANATION: Brick sort is an in place sorting technique as it only requires constant auxiliary space for manipulating the INPUT ARRAY.



Discussion

No Comment Found

Related InterviewSolutions