Share your repls and programming experiences

← Back to all posts
Join A Dance
MohammedSadiq (0)

Given that there are p people in a party. Each person can either join dance as a single individual or as a pair with any other. The task is to find the number of different ways in which p people can join the dance.