0856. Score of Parentheses
Description
**Input:** s = "()"
**Output:** 1**Input:** s = "(())"
**Output:** 2**Input:** s = "()()"
**Output:** 2ac
Last updated
**Input:** s = "()"
**Output:** 1**Input:** s = "(())"
**Output:** 2**Input:** s = "()()"
**Output:** 2Last updated
**Input:** s = "(()(()))"
**Output:** 6