| 14 | |
| 15 | // Create router class for easy reference to location and range |
| 16 | public static class Router { |
| 17 | int location; |
| 18 | int range; |
| 19 | |
| 20 | Router(int location, int range) { |
| 21 | this.location = location; |
| 22 | this.range = range; |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | public int getServedBuildings(List<Integer> buildingCount, List<Integer> routerLocation, List<Integer> routerRange) { |
| 27 | Integer[] buildingsServedArray = buildingCount.toArray(new Integer[0]); |
nothing calls this directly
no outgoing calls
no test coverage detected