Amazon interview question

Find the shortest path between 2 points on a 2d matrix.