Rosetta Problems

Score of Parentheses

https://leetcode.com/problems/score-of-parentheses