Implement a function to find the longest path in a matrix where each cell has to be greater than the previous cell in the path
HardProblem Statement
Implement a function to find the longest path in a matrix where each cell has to be greater than the previous cell in the path
Sample Input
matrix = [[9, 9, 4], [6, 6, 8], [2, 1, 1]]
Sample Output
4
Limits
Time: 2s · Memory: 256 MB