Pergunta de entrevista da empresa Meta

validate a string to have valid parenthesis, how many characters needed to correct the string. Second one is extended from the first question with 2 closed parenthesis instead of one.