Twilio interview question

Fuzzy balancing multiple sets of parenthesis