DIY: Longest Increasing Path in a Matrix
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: left, right, up, or down. You may not move diagonally ...
Create a free account to view this lesson.
Continue your learning journey with a 14-day free trial.
By signing up, you agree to Devpath's Terms of Service and Privacy Policy