takeUforward
Permutations in which N people can occupy R seats - Tutorial