Pergunta de entrevista da empresa Block

Dressed up combinations/permutations question in a few stages