Decrease-Key(H, x, k) key(x) = k while parent(x) NIL and key(x) < key(parent(x)) ;; "bubble" new key up swap(key(x), key(parent(x))) x = parent(x)
Delete(H, x) Decrease-Key(H, x, ) ; O(lg n) Extract-Min(H) ; O(lg n)
Binomial Heap Example