...
/DIY: Longest Increasing Path in a Matrix
DIY: Longest Increasing Path in a Matrix
Solve the interview question "Longest Increasing Path in a Matrix" in this lesson.
We'll cover the following...
Problem statement
You are given an m x n
matrix. You have to return the length of the longest increasing path in this matrix.
From each cell, you can move in any one of four directions: ...