Failing test case 0,1,2

??

@anubhavb11
Consider:

4 4 5 10
. . . . 
. # . . 
* * * * 
* # * * 

Expected Output:
No

Your Output:
Yes
17

There must be hint video on this. Refer that and verify your approach

1 Like

the problem i asked you yesterday can you explain that too with an example i was not able to understand the logic

Please provide that doubt link or name. I will check now

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.