wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Randomized quick sort is one where pivot is choosen randomly. The time complexity recurrence for the worst case scenario of randomized quick sort is

A
T(n)=T(n1)+n
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
T(n)=T(n1)+1
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
T(n)=2T(n2)+n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
T(n)=2T(n/2)+n
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Join BYJU'S Learning Program
CrossIcon