just Follow pattern Runtime: 72 ms, faster than 95.87%
\nstatic auto speedup = [](){\n    std::ios::sync_with_stdio(false);\n    std::cin.tie(nullptr);\n    std::cout.tie(nullptr);\n    return nullptr;\n}();\n\nclas
```\nstatic auto speedup = [](){\n    std::ios::sync_with_stdio(false);\n    std::cin.tie(nullptr);\n    std::cout.tie(nullptr);\n    return nullptr;\n}();\n\nclass Solution {\npublic:\n    int minDifference(vector<int>& nums) {\n        \n\t\t   int n = nums.size();\n\t\t\t\t\n\t\t  if(n <= 3)\n            return 0;\n\t\t\t\n        sort(nums.begin(), nums.end());\n        \n        int p1 = abs(nums[0] - nums[n-4]);  // 0 3\n        int p2 = abs(nums[1] - nums[n-3]);  // 1 2\n        int p3 = abs(nums[2] - nums[n-2]);  // 2 2\n        int p4 = abs(nums[3] - nums[n-1]);  // 3 0\n        \n        return min(min(p1, p2),min(p3,p4));\n    }\n};\n```
[]