My testcase is showing no output .. can you please expllain why?


that’s my code . its working fine on sample input . suggest me how to correct it

@Adi_choudhary
Your function checker is making the code difficult to understand,I have a different approach for you.
Have you done Count boardPath problem?i.e. Print Number of ways to reach from source to destination by throwing a dice.
If you have done that we are going to use similar approach here,the code is


I have done slight modification in the code of the problem Count BoardPath,if you are still unable to understand the code,please revert back here and ask your doubts.

the checker function is there to print the string which contain the osf in asrguments.

@Adi_choudhary
Sorry for the late reply,your logic is completely incorrect.I have already provided you an approach if you still want to stick to your approach please try to add comments in your code so that i can help you out,else see my approach once.