simple and easy Python solution 😍❤️‍🔥
\n\n\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n###### Let\'s Connect on LinkedIn: www.linkedin.com/in/shishirrsiam\n###### Let\'s Connect on Face
\n\n\n# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n###### Let\'s Connect on LinkedIn: www.linkedin.com/in/shishirrsiam\n###### Let\'s Connect on Facebook: www.fb.com/shishirrsiam\n\n\n# Complexity\n- Time complexity: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(n)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```python []\nclass Solution(object):\n    def removeOuterParentheses(self, s):\n        ans = \'\'\n        cnt = 0\n        for ch in s:\n            if ch == \'(\':\n                if cnt:\n                    ans += ch\n                cnt += 1\n            else:\n                cnt -= 1\n                if cnt:\n                    ans += ch\n        return ans\n```
['String', 'Stack', 'Python', 'Python3']