MCQOPTIONS
Bookmark
Saved Bookmarks
→
Cocktail Sort Multiple Choice
→
General
→
Auxiliary space requirement of cocktail sort is __...
1.
Auxiliary space requirement of cocktail sort is _____________
A.
O(n)
B.
O(log n)
C.
O(1)
D.
O(n<sup>2</sup>)
Answer» D. O(n<sup>2</sup>)
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Bubble sort performs better as compared to cocktail sort.
How many iterations are required to sort the array arr={2,3,4,5,1} using bubble sort and cocktail sort respectively?
What is the best case time complexity of cocktail sort?
What is the worst case time complexity of cocktail sort?
Cocktail sort uses which of the following methods for sorting the input?
Cocktail sort is a comparison based sort.
Auxiliary space requirement of cocktail sort is _____________
Cocktail sort is a variation of _____________
Cocktail sort is also known as ________________
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies