Problem 1627 · Hard

Graph Connectivity With Threshold

Connect cities that share a common divisor above a threshold and answer whether pairs end up in the same group. The visual shows multiples linking into components as the threshold changes.

Open the interactive visualisation