PlaySimple Games interview question

Balanced Paranthesis using stacks and DSA