AlgoMaster Logo

Min Cost to Connect All Points

points=[[0,0],[2,2],[3,10],[5,2],[7,0]]
0 / 24
algomaster.io
Step:Initialize 5 points, 10 possible edges (sorted by cost)