In an n x n matrix of natural numbers, find the length of the longest up/down/left/right path whose values are consecutive integers.
Unlock detailed company stats for this questionUpgrade
An n x n matrix holds natural numbers. Moving one cell up, down, left or right at a time and starting anywhere, find the length of the longest path along which the values are consecutive integers.
Community answers
No answers contributed by the community yet.
Related courses

Course

Course