Given a string of '(' , ')' and '?', count the number of split points such that the left substring and right substring can both form a balanced bracket sequence by replacing '?' with either '(' or…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.