Tesla interview question

Shortest path in a matrix