快排是因为顺序访问数组,cpu cache命中率高;而堆排则是每次访问lchild = 2 * parent + 1; 相当于随机访问,cache命中率低
13 9

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务