HCLTech interview question

Permutation and combination logic