you give string s consist low case english letter bracketsreverse string pair matching parenthesis start innermost oneyour result contain bracket Example 1input s abcdoutput dcbaExample 2input s uloveioutput iloveuexplanation the substre love reverse string reversedExample 3input s edetoceloutput leetcodeexplanation first reverse substre oc etco finally stre Constraints1 slength 2000s contain low case english character parenthesesIt guarantee parenthesis balance