leetcode
Leetcode - Maximum Nesting Depth of the Parentheses Solution
A string is a valid parentheses string (denoted VPS) if it meets one of the following: * It is an empty string "", or a single character not equal to "(" or ")", * It can be written as AB (A concatenated with B), where A and B are