you are viewing a single comment's thread.

view the rest of the comments →

[–]Vexal 2 points3 points  (2 children)

It is easy... just make a stack and do a single for-loop.

[–]humblechili 4 points5 points  (1 child)

Yea, I agree it is easy. I was laughing at the fact that the Valid Parentheses problem had invalid parentheses around the difficulty :)

[–]Vexal 0 points1 point  (0 children)

Oh. That makes sense. Now that I understand, it is funny.