πŸ’‘ Tilling Problem - II

not getting right answer

tell me where i am wrong

Hi… refer this code https://ide.codingblocks.com/s/610465

i want to know mistake in my code i dont want your code, please

can u explain what u are trying to do here
image

countTiles(n,n-m,dp)
why u are doing n-m here… what logic are u applying??

please provide me top down apporach code for the same

are bhai jab tumne koi code likha hai to vo explain to kro mujhe ki kiya kya hai…

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.