(solved it) FRIENDS PAIRING PROBLEM, didn't get the recurrence relation


https://hack.codingblocks.com/contests/c/141/1092

not getting the recurrence relation…
f(n)=f(n-1)+(n-1) * f(n-2)

Solved on WhatsApp Group…:slight_smile: