eBay interview question

Matrix, longest sub array, Palindrome