連接所有點的最小成本 (Min Cost Connect Points)
🎮 自訂測試
MST 邊
Min Heap:
步驟 0 / 0
Time: O(n² log n)
Space: O(n²)
已連接點數
0
總成本
0
演算法說明
Prim's Algorithm (C++)