Info
At the end of the day, it was just DFS but to count the number of groups.
1st try: Number of Operations to Make Network Connected 2023-03-23 09.41.57.excalidraw
References
https://leetcode.com/problems/number-of-operations-to-make-network-connected/
