Choose the correct statement from the following.
A
pigeonhole sort is a comparison based sort
B
any comparison based sorting can be made stable
C
quick sort is not a comparison based sort
D
any comparison based sort requires at least O(n2) time
Correct Answer: any comparison based sorting can be made stable
Any comparison based sorting technique can be made stable by considering the position as criteria while making comparisons. Pigeonhole sort is a stable sort.