ByteDance interview question

Given a string array, find the longest palindrome