Go Back

Deepest Nested Parentheses String Extraction

Bloomberg
Developer
Problem Description
Print the string inside the deepest set of parentheses. Example: abc(def)g -> def ab(cde)f(g) -> cde, g a([bc]d){[{{ef}}]} -> ef
Hints

No hints available for this question.