Domanda di colloquio di Roche

permutation of string, SQL question and another string problem