Pergunta de entrevista da empresa PointClickCare

Algorithm to count open-closed parenthesis block