Devansh Bajpai's submission of Directing Edges | CodeChef