Question d’entretien chez Adobe

How do you check if a string is palindrome using stack?