What is the best time complexity of bubble sort(optimised)?
N^2
NlogN
N
N(logN)^2
This question is part of this quiz :
Top MCQs on Complexity Analysis of Algorithms with Answers,Top MCQs on Sorting Algorithms with Answers,Top MCQs on BubbleSort Algorithm with Answers