Programming Course in C# ¡Free!

11.11 - Parenthesis

 Saturday, April 06, 2013 published by Exercises C#

Implement a function to check if a sequence of opened and closed parenthesis is balanced, in other words, if each opened parenthesis corresponds to one closed and they are also well nested.

For example:

(()()(())) OK
(((() ERROR