Bloomberg interview question

It was regarding bfs, not a leetcode question