← Questions

Valid parentheses

0
AmazonMetaSnowflakeCodingLast asked Aug 2026

Given a string of brackets (), [] and {}, decide whether every bracket is closed by the matching type in the right order.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding