Leetcode string problem: Similar to balancing a string of brackets.
Anonymous
I answered it by using a queue to balances the brackets, but it also had other character types that caused the problem to get tricky when balancing the string
Check out your Company Bowl for anonymous work chats.