Braze interview question

Simple questions like valid parenthesis.