UGC-NET | UGC NET CS 2015 Dec – II | Question 39
An ideal sort is an in-place-sort whose additional space requirement is __________.
(A) O (log2 n)
(B) O (n log2 n)
(C) O (1)
(D) O (n)
Explanation: In place sort are those sorts which doesn’t need extra space it uses own space and in case if space is required then it is O(1).
So, option (C) is correct.
Quiz of this Question