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)
Answer: (C)
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
Last Updated :
02 May, 2018
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...