Question d’entretien chez Barclays

String palindrome and permutation formula and generation