阅读背景:

大θ(n)线性排序算法?

来源:互联网 

Design a linear algorithm to rearrange the elements of a given array of n elements so that all its negative numbers precede any zeroes, and any zeroes precede any positive numbers. It should also be space efficient so that it doesn't require more than a constant amount of additional space. Design a linear algorithm to rearrange the elem




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

分享到: