Seems they both let you retrieve the minimum, which is what I need for Prim\'s algorithm, and force me to remove and reinsert a key to update its value. Is there any advanta
It all depends what you want to achieve. Here are the main points to consider before you choose one over other.