The problem statement is:- Given a floor of size n x m. Find the number of ways to tile the floor with tiles of size 1xm.
my solution link:- https://ide.codingblocks.com/s/35161
I don’t know my solution’s base condition is correct or not please tell?
Tilling Problem - II
Please post proper link to question and code while asking doubt.
if(n>=0&&n<=3)
Why have you used this base case. Was it mentioned in the question?