• 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建堆

    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建堆

  • 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建堆

    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建堆

  • 2022-06-03 问题

    Which of the following data structures is used to implement the priority queue's insert, getMax, and delMax interfaces to achieve O(lgn) time complexity?使用以下哪种数据结构实现优先级队列的insert, getMax, delMax接口均可达到O(lgn)的时间复杂度? A: vector向量 B: ordered vector有序向量 C: Hash table散列表 D: Balanced binary search tree平衡二叉搜索树

    Which of the following data structures is used to implement the priority queue's insert, getMax, and delMax interfaces to achieve O(lgn) time complexity?使用以下哪种数据结构实现优先级队列的insert, getMax, delMax接口均可达到O(lgn)的时间复杂度? A: vector向量 B: ordered vector有序向量 C: Hash table散列表 D: Balanced binary search tree平衡二叉搜索树

  • 2022-10-29 问题

    优先级队列的delMax()的作用是: A: 删除最大的元素 B: 删除优先级最大的元素 C: 删除首元素 D: 删除末元素

    优先级队列的delMax()的作用是: A: 删除最大的元素 B: 删除优先级最大的元素 C: 删除首元素 D: 删除末元素

  • 2022-06-03 问题

    使用以下哪种数据结构实现优先级队列的insert, getMax, delMax接口均可达到O(lgn)的时间复杂度? A: 向量 B: 有序向量 C: 散列表 D: 平衡二叉搜索树

    使用以下哪种数据结构实现优先级队列的insert, getMax, delMax接口均可达到O(lgn)的时间复杂度? A: 向量 B: 有序向量 C: 散列表 D: 平衡二叉搜索树

  • 1