Question d’entretien chez Walt Disney Company

write a program to search a string in both directions simultaneously