This code passes one of the test cases. But unable to pass others. Can you help me identitfy the issue with this code?
Tiling Problem 2
Kajal, you can solve this question using dynamic programming approach using 1-d dp array as this problem contains the overlapping subproblems… Thus, I would recommend you to first go through the online video lectures on dynamic programming approach and then try to solve using it…