LeetCode
Minimum Add to Make Parentheses Valid
Click
here
for an explanation.