Pergunta de entrevista da empresa Glassdoor

Algorithm to check if a character is present in an array of strings and return the string