What is recurrence for worst case of QuickSort and what is the time complexity in Worst case?
belongs to collection: ADA Algorithm MCQ Quiz (Multiple Choice Questions And Answers)
All Answers
total answers (1)
belongs to collection: ADA Algorithm MCQ Quiz (Multiple Choice Questions And Answers)
total answers (1)
Correct Answer:
Recurrence is T(n) = T(n-1) + O(n) and time complexity is O(n^2)
need an explanation for this answer? contact us directly to get an explanation for this answer