You are viewing a single comment's thread. Return to all comments →
If its length % 2 is not 0, then it cannot be balanced. Wouldnt you want to start with that first?
Seems like cookies are disabled on this browser, please enable them to open this website
Stacks: Balanced Brackets
You are viewing a single comment's thread. Return to all comments →
If its length % 2 is not 0, then it cannot be balanced. Wouldnt you want to start with that first?