112年
第 27 題2.5 分
答案已完成可重現的技術覆核;非官方答案。查看原始試卷
Recall that a min heap is a complete binary tree such that the key stored in each node is greater than or equal to the keys in the node's children. Then, the time complexity for inserting a key into a min heap of n nodes can be done in