Test case failing


pls check code

Please Include boundary conditions
For example if there is only 1 row or only 1 column.
I hope this helps.

Hello @Amishi please wait i am checking your code:

Hello @Amishi i have corrected your code and commented the error you can see your code now and try to submit it.


if you have any doubt you can ask here:
Happy Learning!!

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.