Getting TLE error and wrong answer
Tiling problem 2 Question
Constraints are large and with recursion this problem will give TLE for large test cases.
You have to solve it with Dynamic Programming. I would suggest you to return to this question after completing Dynamic Programming lectures.