Given an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains fewer than
Note: Successive elements are adjacent elements in the sorted order of
nums.
Constraints:
nums.length
nums[i]
Given an integer array nums, return the maximum difference between two successive elements in its sorted form. If the array contains fewer than
Note: Successive elements are adjacent elements in the sorted order of
nums.
Constraints:
nums.length
nums[i]