Questions tagged [longest-path]
106 questions
-4
votes
1 answer
My c++ program has stopped working
I tried to find the longest path in a matrix with consecutive digits which gives correct answer.The function call executes recursively till there is no consecutive digits nearby and it checks every time whether the cell is visited or…

Leone messi
- 3
- 2