Minimum Number of Days to Disconnect Island

Minimum Number of Days to Disconnect Island - Coding Problem | K5kC