O( n2 ) is the worst case time complexity, so among the given options it can represent :-
O( n )
O( 1 )
O ( nlogn )
All of the above
This question is part of this quiz :
Top MCQs on Complexity Analysis of Algorithms with AnswersAlgorithms | Analysis of Algorithms | Question 4