WeRide interview question

Coding: dynamic programming to find shortest path from high to low cells in a 2D matrix