1.

Pigeonhole sort is an in place sorting algorithm.(a) true(b) falseThis question was posed to me during an interview for a job.This interesting question is from Sorting in chapter Sorting of Data Structures & Algorithms II

Answer»

The correct option is (b) false

Easy EXPLANATION - PIGEONHOLE sort requires space of O(n+k). So it does not qualify to be an in PLACE SORTING ALGORITHM.



Discussion

No Comment Found

Related InterviewSolutions