TLE
TILING PROBLEM-2
ur recursive solution has exponential time complexity thats why it is giving tle,
use dynamic programming to improve ur time complexity
But dynamic programming is given by the end of the course. Then what is the point of giving this ques here in recursion
i have already informed this to the team, if u r not familiar with dp then leave this question for now,try after studying dp