Arista Networks interview question

String Palindrome