Google interview question

Regarding DSA around BFS algorithm