State Planning A planned state consists of cities connected by bidirectional roads of different types. For example, one road may be an expressway and another a boulevard. Each road can be described by three integers that represent the two connected cities and the road type. To reduce maintenance, some roads may be demolished. All others will be upgraded. If each city is to remain connected to all currently connected cities by the same type of road, determine the minimum number of roads of each type that will be upgraded. Example numCities=4 numRoads 5 numTypes = 2 fromCity=[3,0, 0, 2, 11 toCity=[2.3, 2, 1, 31 roadType=[1.0.0.1.11.