Pergunta de entrevista da empresa Bloomberg

Graph question about airplanes on shared code editor. Interviewer helps you if you get stuck. Asked about the complexity of the solution afterwards.