Question d’entretien chez Sumo Logic

Find all permutations of "needle" string in "haystack" string