Pergunta de entrevista da empresa Lyft

Coding question involved building a graph and traversing it