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