• 2022-06-03
    How to use the heap to sort:如何用堆来实现排序:- 未答
    A: Continue to call delMax() after building a heap建堆后不断调用delMax()
    B: Continue to call getMax() after building a heap建堆后不断调用getMax()
    C: Continue to call insert() after building a heap建堆后不断调用insert()
    D: Build the heap建堆
  • A

    内容

    • 0

      堆(Heap)是() A: 完全二叉树 B: 线性表 C: 满二叉树 D: 都不正确

    • 1

      147关于栈(stack)和堆(heap),下列说法正确的是 A: 基本类型存放在栈(stack)中 B: 引用类型存放在堆(heap)中 C: 指向引用类型的地址存放在栈(stack)中 D: 栈是一种FIFO(先进先出)的数据结构

    • 2

      对于如下图所示的最大堆,删除掉最大的元素后,堆的后序遍历结果是For the following maximum heap, after deleting the maximum element, the post order traversal sequence is[img=387x212]1802faee53d86da.png[/img]

    • 3

      The meaning of the left heap relative to a full binary heap is:相对于完全二叉堆,左式堆存在的意义是: A: More efficient insertion高效的插入 B: More efficient deletion高效的删除 C: More efficient mergence高效的合并 D: To defeat the counter-revolutionary rightists打倒反革命右派

    • 4

      heap/ hi:p/ A: vt.强迫,迫使屈服 B: n.(一)堆;大量 C: a.当前的;通用的 D: n.司令官,指挥员