Nagarro interview question

Find a string is palindrome using Stack.