Question d’entretien chez Amazon

Parenthesis matching similar to leetcode using stack