You are given n people in a row, k of whom are infected with a disease, number of ways in which disease can spread to all n people considering At any point it only spreads from one person to one of its neighbour
Link to the problem ?
As the question has been asked by a senior, I do not really have the link.
Then I don’t think people will help here because some people cheat in a contest by asking such questions without link.
Why don’t you ask your senior ?