Flood Fill Dynamic Programming

What is wrong with this code

@Codemaniac_Aditya
You forgot to check for the condition start > end
Please think of that

Please check again i have made some changes

@Codemaniac_Aditya

Getting wrong in one testcase

@Codemaniac_Aditya
Please send the code you submitted

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.