Java in 6 lines
\nclass Solution {\n    public String removeOuterParentheses(String s) {\n        \n        int count = 0;\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\
```\nclass Solution {\n    public String removeOuterParentheses(String s) {\n        \n        int count = 0;\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor (char c : s.toCharArray()) {\n\n\t\t\tif (c == \'(\' && count++ > 0) { sb.append(c); }\n\t\t\tif (c == \')\' && --count > 0) { sb.append(c); }\n\t\t\t\n\t\t}\n\t\t\n\t\treturn sb.toString();\n    }\n}\n```
[]