Please check code for Tiling Problem-II


Not able to pass any test case

Hello @sahilkhan2312000131 have you covered the concept of Dynamic Programming?
in this question you need to use Dynamic programming.

Can you please share the code

@sahilkhan2312000131 check this:

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.

can you tell why have you done %1000000007 at so many places?

@sahilkhan2312000131 we have taken modulus so that the answer does not overflow.
and also it is mentioned in the question that you have to take modulus.