Pregunta de entrevista de Wish

2d matrix shortest path type question use bfs queue