Count Number of Binary string

I have used n+2th fabonacci number
I have used recursive method
I have used dp method
but still iam getting 2 wrong answer …I don’t know why
plz check it once is test cases are right or wrong
here is my code

@Akashkumar hey akash this question belong to dp so if you have any approach then do discuss recursive function will not work.

and here is dp solution

@Akashkumar hey akash use long long int you data type is not strong enough to handle the output.