Nagarro Interview Question

Find a string is palindrome using Stack.