AlgoMaster Logo

Longest Increasing Path in a Matrix

matrix=[[9,9,4],[6,6,8],[2,1,1]]
0 / 20
algomaster.io
Step:Longest Increasing Path in a 3x3 matrix. From any cell you may step to a strictly larger 4-directional neighbor.