+ 2

getting issue of edge case

it is returning Integer.MAX_VALUE as answer is supposed to get 7 of this grid. may be I'm unable to handle base cases if anyone gets, help me here is my attempt https://code.sololearn.com/cZnTYlG5p87f/?ref=app

18th Dec 2022, 11:05 AM
Davinder Kumar
Davinder Kumar - avatar
2 ответов
0
Seems like it works just fine to me?
24th Dec 2022, 10:30 PM
Vanessa Nilsson
0
i fixed it
25th Dec 2022, 6:44 AM
Davinder Kumar
Davinder Kumar - avatar