WisdmLabs interview question

balanced braces question