Wipro interview question

Linked list array and palindrome