Code is giving TLE for the Tiling Problem

Code is attached below for the tilling problem

@mukuuu hey you have used recursion only thats why it is giving TLE use dynamic programming concept in it,you will get it correct.

Actually this question is under the challenges of recursion…and i have not completed dynamic programming yet as it is in the last part of the course

@mukuuu no problem bro,try it after you learn the concept of dynamic programiing ,yoiu will easily solve it then.