Python Simplest 4 line solution
\nclass Solution:\n    def minDifference(self, nums: List[int]) -> int:\n        if len(nums)<=4:\n            return 0\n        nums.sort()\n        return min
```\nclass Solution:\n    def minDifference(self, nums: List[int]) -> int:\n        if len(nums)<=4:\n            return 0\n        nums.sort()\n        return min(nums[-3]-nums[1],nums[-4]-nums[0],nums[-1]-nums[3],nums[-2]-nums[2])\n```
[]