MicroStrategy interview question

Asked a balanced parantheses question