ByteByteGo logo
menuProblems List

Longest Increasing Path

Medium

Find the longest strictly increasing path in a matrix of positive integers. A path is a sequence of cells where each one is 4-directionally adjacent (up, down, left, or right) to the previous one.

Example:

Output: 5

You can practice coding exercises online by logging into bytebytego.com on your laptop.