阅读背景:

给定n个元素的排序数组,在线性时间内对n / 2个元素进行排序

来源:互联网 

I have a sorted array of n elements. Now I am given n/2 elements each of which belong to the sorted array. The n/2 elements are taken at random from the sorted array. How to sort these n/2 elements in linear time? I have a sorted array of n elements. Now I am g




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

分享到: