I have checked my code against this test case and it is working fine. It is producing output which is one of the solution. Please guide to clear this further. Thanks :’)
Hey @tusharanand just a quick reminder, the question says you can only move in the down and right direction. I think you have considered all 4 directions in your soluton.
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.