Minimum Operations to Make Array Equal
class Solution {\npublic:\n    int minOperations(int n) {\n        int mid = n/2;\n        return mid * (mid+n%2);\n    }\n};
class Solution {\npublic:\n    int minOperations(int n) {\n        int mid = n/2;\n        return mid * (mid+n%2);\n    }\n};
['Math', 'C', 'C++']