Count number of binary strings without consecutive 1’s

I am unable to solve this…

@ashutoshu
this problem ultimately boils down to calculate the n’th fibonacci number.