Snap-on interview question

palindrome String, Greatest number from array.