Pregunta de entrevista de Geekyants Software

To solve Valid parenthesis dsa question.