Getting wrong answer of count number of binary strings question under recursion and backtracking

Please help asap

@saikatchoudhury1998, there are some test cases in which answer might overflow the range of integer values so use long long
corrected code :- https://ide.codingblocks.com/s/287465

In case of any doubt feel free to ask :slight_smile:
Mark your doubt as RESOLVED if you got the answer