pl. check my code mine is giving TLE .
Getting TLE in tiling problem
Hi lakshay it is not a recursion problem rather it is a dp problem if your code works properly for small test cases you can avoid TLE by just adding memoization.
Hope this helps
1 Like