1614. Maximum Nesting Depth of the Parentheses
Description
**Input:** s = "(1+(2*3)+((8)/4))+1"
**Output:** 3
**Explanation:** Digit 8 is inside of 3 nested parentheses in the string.ac
Last updated
**Input:** s = "(1+(2*3)+((8)/4))+1"
**Output:** 3
**Explanation:** Digit 8 is inside of 3 nested parentheses in the string.Last updated
**Input:** s = "(1)+((2))+(((3)))"
**Output:** 3**Input:** s = "1+(2*3)/(2-1)"
**Output:** 1**Input:** s = "1"
**Output:** 0