Question d’entretien chez Anonymous

A Leetcode medium question which was from graphs.