Pregunta de entrevista de On

Stack Queue Match closing and opening brackets using stack