1568. Minimum Number of Days to Disconnect Island - Explanation

Problem Link