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.
how would your code look like if u choose to write
bracket_map = {'{': '}', '(': ')', '[': ']'} as this way? I was trying to do it but I couldn't figure out.. maybe then it would be the different approach?
Balanced Brackets
You are viewing a single comment's thread. Return to all comments →
how would your code look like if u choose to write bracket_map = {'{': '}', '(': ')', '[': ']'} as this way? I was trying to do it but I couldn't figure out.. maybe then it would be the different approach?