Pairs Separated by Exactly One Special Edge

Company: HiLabs

Difficulty: hard