Back to QuestionsPractice with This Question
Longest Increasing Path in a Matrix
88.5K views•Asked at Uber•
Hard
Question Explain
Given an $m \times n$ integers matrix, find the length of the longest increasing path. You can move up, down, left, or right. Use DFS with memoization (DP).
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.