Given an m x n integer matrix, find the length of the longest increasing path in the matrix. From each cell, you can move in four directions: left, right, up, or down. Diagonal movements and wrap-arounds are not permitted.
Click Run to execute sample tests.