We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Too be fair, it is quite a common coding problem (although often made more complex by having non-brackets in the string as well) and also it does mention stacks in the question. Nevertoolate to give it another go though, and sounds like you got there in the end ;-)
Cookie support is required to access HackerRank
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 →
Too be fair, it is quite a common coding problem (although often made more complex by having non-brackets in the string as well) and also it does mention stacks in the question. Nevertoolate to give it another go though, and sounds like you got there in the end ;-)