Question d’entretien chez Expedia (IT)

Print all subsequences in a string