Rosetta Problems

Count Connected Components in LCM Graph

https://leetcode.com/problems/count-connected-components-in-lcm-graph