Why TLE used the conventional way to solve the tiling problem can't make it out, help pls :(

used the conventional way to solve the tiling problem can’t make it out, help pls :frowning:

Hey @Tapan
Code is correct but since constraints are large so it will run for small testcases only
For large testcases, u have to use Dynamic Porgramming