Pergunta de entrevista da empresa Bloomberg

I was been on Graphs and Backtracking