Balance Parenthesis Again

2

1 votes
Algorithms, Breadth-first search, Graphs

?