c.Give an efficient implementation of EXTRACT-MAX in a d-ary max-heap . Analyze its running time in trems of d and n. Ans: 類似binary heap 的作法,return root, ...
確定! 回上一頁