Doubt in Question!

“The Robot has some power to make the value of all the cell of first 5 ∗ 5 subgrids from -1 to 0”
Does it mean that robot can make -1 to 0 for the bottom 5 grids only ( What does first 5*5 mean here? )

Just read the question again , it clearly states that robot start from the bottom of grid and can change value in first 55 cells , that been if robot can’t find a way to go up then at the time of backtrack he can change value only in its first 55 cells. If robot is in first 5*5 then he can change value optimally in order to reach destination.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.