2285. Maximum Total Importance of Roads - Explanation

Problem Link