堆排序的时间复杂度是(),堆排序中建堆过程的时间复杂度是()。 O(n2),O(n log n) O(n),O(n log n) O(n log n),(n) O(n log n),O(n log n)
堆排序的时间复杂度为nlogn,构建堆的时间复杂度为o(n),重建堆的时间复杂度为nlogn.