Tiling problem submission

whats wrong with this submission on mine??
and please check the top down approach also in the commneted part.

@Shobhit_kumar,
Because as cool as it looks, but return dp[n]%(10^9+7); does not update the value of dp[n], thus it doesn’t get modulo operated value stored at dp[n].

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.