ByteDance Interview Question

Given a string array, find the longest palindrome