Topic: Language Problem / Level: advanced

Problem: Write a program to check if a string contains only balanced parentheses.

Run the code to see the output here...