How to solve this question using Top Down DP ? Can you explain me the Top Down DP algorithm ?
Doubt regarding count number of binary strings problem
Hey @Lalit2142
BinryCount(n)= BinryCount(n - 1) +BinryCount(n - 2)
Base Case
if (n == 0 || n == 1) {
return n+1;
}