Goldman Sachs Interview Question

Minimum cost to connect all points