... 可能除了圈起來的節點與其子節點之間以外。 loop /* invariant: heap(1, n) except perhaps between i and its (0, 1 or 2) children */這個迴圈類似於 siftup 。
確定! 回上一頁