Pergunta de entrevista da empresa Fortinet

The difficult problem is a depth first search problem. Looks quite simple, but it takes a long time to solve it.