Meta interview question

Shortest pathway BFS question using chess