Pergunta de entrevista da empresa ICD

1) Parenthesis balance puzzle 2) Recursive max combos within constraints