Pergunta de entrevista da empresa TikTok

about a graph algorithm and very hard