Arista Networks Interview Question

Determine whether a given string is palindrome or not.