Please check whether my code is correct or not for tiling problem?

Sharad, you are supposed to solve this problem using the 1-d dynamic programming approach as it contains overlapping subproblems. For the time, if u havent covered the dynamic programming lectures, you can leave this question and can do later on once you covered the topics.

can you please provide me the solution code for this problem ao that i can match my answers with solution