问题:
[单选题]Choosing the median from a vector of size n, the worst-case complexity of the quickselect algorithm is:smO答案窝(daanwo.com)-大学作业答案分享平台
从规模为n的向量中选取中位数,quickselect算法的最坏时间复杂度是:smO答案窝(daanwo.com)-大学作业答案分享平台
AO(logn)smO答案窝(daanwo.com)-大学作业答案分享平台
BO(n)smO答案窝(daanwo.com)-大学作业答案分享平台
CO(nlogn)smO答案窝(daanwo.com)-大学作业答案分享平台
DO(n^2)