Pergunta de entrevista da empresa Meta

What the minimum number to add parentheses to make a string balanced.