in the friends problem ? why are we multiplying n-1c1 .
as in tiling and ladders problem we only write f(n-1) + f(n-2)…
In the friends problem?
we are doing this because we have n-1 option to choose the friend which can go with us.
in the friends problem ? why are we multiplying n-1c1 .
as in tiling and ladders problem we only write f(n-1) + f(n-2)…
we are doing this because we have n-1 option to choose the friend which can go with us.