✔️✔️✔️very easy solution - without STACK - beats 100%⚡⚡⚡PYTHON || C++
Code\nPython []\nclass Solution:\n    def removeOuterParentheses(self, s: str) -> str:\n        string = ""\n        opened = 0\n        for i in s:\n          
# Code\n```Python []\nclass Solution:\n    def removeOuterParentheses(self, s: str) -> str:\n        string = ""\n        opened = 0\n        for i in s:\n            if i == "(":\n                opened += 1\n                if opened > 1:\n                    string += i\n            else:\n                opened -= 1\n                if opened > 0:\n                    string += i\n        return string\n```\n```C++ []\nclass Solution {\npublic:\n    string removeOuterParentheses(string s) {\n        string fin = "";\n        int opened = 0;\n        for(auto i : s){\n            if (i == \'(\'){\n                opened++;\n                if (opened > 1){\n                    fin.push_back(i);\n                }\n            }\n            else{\n                opened--;\n                if (opened > 0){\n                    fin.push_back(i);\n                }\n            }\n        }\n        return fin;\n    }\n};\n```
['String', 'C++', 'Python3']