DEV Community

Discussion on: Daily Challenge #51 - Valid Curly Braces

Collapse
 
mazentouati profile image
Mazen Touati

I like this type of challenges that encourage the use of queues or/and stacks concepts. Anyway, this is my solution that suggests an early exist as soon as a brace does not match.

Collapse
 
aminnairi profile image
Amin

Hey! I didn't know we could embed repl here. Looking dope!

Collapse
 
mazentouati profile image
Mazen Touati

Yup, liquid tags are fun 🦄