4W interview question

Write a program for array palindrome