Bloomberg interview question

I was been on Graphs and Backtracking