Question d’entretien chez PayPal

Given an array, need to search for sub strings