Problem 2076 · Hard
Accept friendship requests only when no restricted pair becomes connected.
Open the interactive visualisation