DXC Technology Interview Question

Check given series is palindrome or not