• 2022-06-03
    The time complexity of building a complete binary heap of size n by the Floyd build-heap algorithm is:Floyd建堆算法建立规模为n的完全二叉堆的时间复杂度为:
    A: O(nlgn)
    B: O(n)
    C: O(lgn)
    D: O(1)