Skip to content
RED SAGSkills
hard20 pts · first answer countsdynamic-programminggrid-dpmemoization

Longest increasing path in a matrix

You find the longest strictly increasing path in a grid, moving in 4 directions, using DFS with a memo per cell. Why is no visited set needed?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions