阅读背景:

在n个项目中寻找k个最小数字的算法。

来源:互联网 

I'm trying to write an algorithm which can print the k smallest numbers in an n-size-array in O(n) time, but I cannot reduce the time complexity to n. How can I do this?I'm trying to write an algorithm which can prin




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: