Pergunta de entrevista da empresa Deloitte

there was a dsa que based on permutations , number generation and summation