Easy Python Solution
Code\n\nclass Solution:\n    def findValueOfPartition(self, nums: List[int]) -> int:\n        nums.sort()\n        m=nums[-1]\n        for i in range(len(nums)-
# Code\n```\nclass Solution:\n    def findValueOfPartition(self, nums: List[int]) -> int:\n        nums.sort()\n        m=nums[-1]\n        for i in range(len(nums)-1):\n            m=min(m, abs(nums[i]-nums[i+1]))\n        return m\n```
['Python3']