https://leetcode.com/problems/number-of-operations-to-make-network-connected/