Pergunta de entrevista da empresa American Express

Solve palindrome, return products of an array except for itself, longest non-repeat string.