Java || Easy to understand
\nclass Solution {\n    public String removeOuterParentheses(String s) {\n        int count=0, start=0;\n        StringBuilder res= new StringBuilder();\n      
```\nclass Solution {\n    public String removeOuterParentheses(String s) {\n        int count=0, start=0;\n        StringBuilder res= new StringBuilder();\n        \n        for(int i=0; i<s.length(); i++){\n            if(s.charAt(i)==\'(\')\n                count++;\n            else\n                count--;\n\t\t\t\t\n            if(count==0){\n                res.append(s.substring(start+1,i));\n                start=i+1;\n            }\n        }\n        return res.toString();\n    }\n}\n```
['Java']