Problem 3668 · Easy
Walk the finishing order once and keep the participants who are in a friend set. The
Open the interactive visualisation