Block Interview Question

I was asked a BFS question (a common Leetcode problem).