Minimum Community Utility Cost - Coding problem | OneNoughtOne