#230. 递归提取括号内容

    ID: 230 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatWarmup-2gesp5字符串递归

递归提取括号内容

Extract Parenthesis Content

Background

Congcong is currently studying string processing. He encountered an interesting problem that requires precisely extracting specific parts from complex strings.

Problem Description

Given a string that contains a single pair of parenthesis, compute recursively a new string made of only of the parenthesis and their contents. For example, if the input is "xyz(abc)123\