can anyone explain this question CLASS ASSIGNMENT
Class Assignment
U have to form a n digit no. Using a & b w/o using 2 consecutive b’s
N=1
a
b
O/p = 2
So, two one digit no can be formed
N=2
aa
ab
ba
O/p = 3
bb is not allowed
1 Like