Check if a string containing parentheses, braces, brackets, and single quotes is balanced. Note that single quotes are ambiguous as they represent both opening and closing.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.