- 3

Remove unbalanced parentheses in a given expression.

Remove unbalanced parentheses in a given expression. Eg.) Input : ((abc)((de)) Output : ((abc)(de)) Input : (((ab) Output : (ab)

4th Aug 2018, 10:12 AM
Raja N
Raja N - avatar
2 ответов
+ 2
Raja N try implementing this with stack...it's fun to implement this using stack
4th Aug 2018, 3:17 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
4th Aug 2018, 12:31 PM
Sebastian Keßler
Sebastian Keßler - avatar