* 根据传入堆的类型来返回排序数组 * 大顶堆对应从大到小 * 小顶堆对应从小到大 * * @param {number[]} array * @param {string} type
(array: number[], type: string)
source not stored for this graph (policy: none)
no test coverage detected