#329

Longest Increasing Path in a Matrix

hard· 2-D DPruns: 0

Given an m x n integer matrix, return the length of the longest strictly increasing path. From each cell you can move in four directions (up, down, left, right). You may not move diagonally or outside the matrix boundary.

sign in to paste and practice your own solution
desktop only

codedrill is a typing game and needs a real keyboard. open this on a laptop or desktop to practice.

you can still browse problems and sections from your phone.