Cvent interview question

balancedParentheses