Pergunta de entrevista da empresa Aurora Innovation

Medium Graph-based Leetcode question, 40ish minutes to write the code.