Meta Interview Question

Palindrom string and parenthesis balance