How to implement Prim's algorithm with a Fibonacci heap?
问题 I know Prim's algorithm and I know its implementation but always I skip a part that I want to ask now. It was written that Prim's algorithm implementation with Fibonacci heap is O(E + V log(V)) and my question is: what is a Fibonacci heap in brief? How is it implemented? And How can you implement Prim's algorithm with a Fibonacci heap? 回答1: A Fibonacci heap is a fairly complex priority queue that has excellent amoritzed asymptotic behavior on all its operations - insertion, find-min, and