結果 : what data structure is used to implement prim's algorithm efficiency