Given an m x n integer grid, return the length of the longest strictly increasing path in the grid. You can move in four directions: up, down, left, or right.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.