Build an optimal electrical network of a country and calculate each city' investment contribution. Features a minimum spanning tree algorithm and a customized version of DFS algorithm.
mg515/electrical_network
build an optimal electrical network of a country and calculate each city' investment contribution
Python