Domanda di colloquio di H&M

Question based on dsa ..Check for Balanced Bracket expression