100% || One Liner || Math
Code\n\nclass Solution {\npublic:\n    int minOperations(int n) {\n        return ( n/2 ) * ( n - (n/2));\n    }\n}; \n\n
# Code\n```\nclass Solution {\npublic:\n    int minOperations(int n) {\n        return ( n/2 ) * ( n - (n/2));\n    }\n}; \n\n```
['C++']