Javascript Simple With explanation
\nvar minDifference = function(nums) {\n    let len = nums.length;\n    if (len < 5) return 0;\n\n    nums.sort((a,b) => a-b)\n    \n    return Math.min(\n     
```\nvar minDifference = function(nums) {\n    let len = nums.length;\n    if (len < 5) return 0;\n\n    nums.sort((a,b) => a-b)\n    \n    return Math.min(\n        \n    ( nums[len-1] - nums[3] ),  // 3 elements removed from start 0 from end\n    ( nums[len-4] - nums[0] ),  // 3 elements removed from end 0 from start\n    ( nums[len-2] - nums[2] ),  // 2 elements removed from start 1 from end\n    ( nums[len-3] - nums[1] ),  // 2 elements removed from end 1 from start\n   \n\n)\n    \n    \n    \n      \n};\n```
['JavaScript']