Pergunta de entrevista da empresa Airbnb

1 graph question (topological sort)