Akidev interview question

Palindrome a string with array