Number of Operations to Make Network Connected

Number of Operations to Make Network Connected - Coding Problem | K5kC