OnlineSales.ai interview question

MST(Minimum spanning tree) Gas Station