Given a string s of '(' and ')' characters, return the minimum number of brackets you need to add to make the string valid.
s
'('
')'
Example: s = "())" → 1 (add one '('). s = "(((" → 3 (add three ')'s).
s = "())"
1
s = "((("
3
"())"