Simple C++ Solution
\nclass Solution {\npublic:\n    int minDifference(vector<int>& nums) {\n        sort(nums.begin(), nums.end());\n        int count = 0;\n        if (nums.size(
```\nclass Solution {\npublic:\n    int minDifference(vector<int>& nums) {\n        sort(nums.begin(), nums.end());\n        int count = 0;\n        if (nums.size() <= 4)   return 0;\n        \n        int n = nums.size();\n        int a = nums[n - 1] - nums[3], b = nums[n - 2] - nums[2], \n            c = nums[n - 3] - nums[1], d = nums[n - 4]- nums[0];\n        return min(min(a, b), min(c, d));\n    }\n};\n```
[]