can you please explain the problem and give solution for tiling problem (no of ways to fill 2n tile with 21 or 1*2 tiles)
Dp tiling problem
Hello @kani001 the problem says there is a floor and you can place it either it in a horizontal way or int the vertical way.
you have to tell the total number of options that are available for the floor of n size:
Here for your reference i am attaching the code:
https://ide.codingblocks.com/s/402366
if you have any doubt you can ask here:
Happy Learning!!
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.