Agoda Interview Question

It was more on permutations and combinations