Problem 2807 · Medium
Walk neighbouring nodes once and splice the gcd of each pair between them.
Open the interactive visualisation