To sift up a node is to exchange it with its parent as long as its key is smaller. To sift down a node is to exchange it with its smaller child as long as that child’s key is smaller. To heapify an array is to make it a heap by sifting down every node that has a child, from the last one back to the root.
Computer Science · المسرد
ما معنى Sift up, sift down, heapify؟
يُعرف أيضًا باسم: sift up · sift down · heapify