Examveda

What will be the recurrence relation of the code of recursive bubble sort?

A. T(n) = 2T(n/2) + n

B. T(n) = 2T(n/2) + c

C. T(n) = T(n-1) + n

D. T(n) = T(n-1) + c

Answer: Option C


This Question Belongs to Data Structure >> Sorting Algorithms

Join The Discussion

Related Questions on Sorting Algorithms