simple and easy Python solution with explanation 😍❤️‍🔥
if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n\n# Code\n\nclass Solution(object):\n    def minDifference(self, nums):\n        if len(nums) <= 3:\n     
# if it\'s help, please up \u2B06 vote! \u2764\uFE0F\n\n\n# Code\n```\nclass Solution(object):\n    def minDifference(self, nums):\n        if len(nums) <= 3:\n            return 0\n            \n        nums.sort()\n        ans = float(\'inf\')\n        \n        # frist three remove\n        ans = min(ans, nums[-1] - nums[3])\n\n        # last three remove\n        ans = min(ans, nums[-4] - nums[0])\n\n        # first 2 remove, last 1 remove\n        ans = min(ans, nums[-2] - nums[2])\n\n        # first 1 remove, last 2 remove\n        ans = min(ans, nums[-3] - nums[1])\n        return ans\n```
['Array', 'Greedy', 'Sorting', 'Python', 'Python3']