Pergunta de entrevista da empresa Softech A.S

permutations of an array and divisibility questions