Determine minimum cost to provide library access to citizens


Problem

Determine the minimum cost to provide library access to all citizens of HackerLand. There are n cities numbered from to 1 to n. Currently there are no libraries and the cities are not connected. Bidirectional roads may be built between any city pair listed in cities.

A citizen has access to a library if:

a) Their city contains a library.
b) They can travel by road from their city to a city containing a library.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Determine minimum cost to provide library access to citizens
Reference No:- TGS03256833

Expected delivery within 24 Hours