Tiling problem 2 not printing any output

The code is runnig fine for sample test cases and logic is also ok. What is wrong I am unabl eot find

@piyush.bansal8158625 Check this:

But note that all test cases will not pass and will give TLE by naive recursive approach as the constraints are large.You have to do this problem by Dynamic Programming. So attempt this problem after completing Dynamic programming section.

still not printing any output while submitting the code and why have u used n==1 and n<0 condition.
if i check (n<m) return 1;
that should also work fine;

@piyush.bansal8158625 n==0 in base case is reached when you have completed the tilling/flooring process. In that case we return 1 as we have found one way of tilling. if(n<0) return 0; is also used as base condition which refers to the same condition as n<m as suggested by you.

the main problem is code is not submitting. No wrong answers and no correct answer.Blank output screen after submitting

Okay, it seems there is some temporary problem. Please drop a mail at [email protected]

Hi @piyush.bansal8158625

There is some special character in your code, please remove that and try to run or submit your code again.