Pergunta de entrevista da empresa DXC Technology

Check given series is palindrome or not