What does decrease-key do in a min-heap of size n, and how long does… | Heaps and Priority Queues question · AnyPrep