Pergunta de entrevista da empresa Uber

Questions on tree, graphs, greedy algorithm, my current project and 2 behavioral interviews