Edge case 8 is failing

My edge case 8 for this module is failing. I tried taking 1x1 grid n all but still its failing, Can anyone provide hint for that?

Hey. Try debugging your code for the following test case :

Input :
4 4
A B C B
A B C F
A A C A
A B C A
AACCCBA

Output : 
true

You will realize you have made a silly mistake in your recursion somewhere

1 Like

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.