Question d’entretien chez ByteDance

Given a string array, find the longest palindrome