Arista Networks Interview Question

Detect if string is a palindrome. Reverse string. Implement stack