Java | 1 line code | 0ms
\n\n# Complexity\n- Time complexity:\nO ( 1 )\n Add your time complexity here, e.g. O(n) \n\n- Space complexity:\nO ( 1 )\n Add your space complexity here, e.g.
\n\n# Complexity\n- Time complexity:\nO ( 1 )\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\nO ( 1 )\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n    public int minOperations(int n) {\n        return n*n/4;\n    }\n}\n```
['Java']