Pergunta de entrevista da empresa LiveRamp

Solve six-degree problem as many as possible