4W Interview Question

Write a program for array palindrome