LeetCode Array 164 Maximum Gap
164. Maximum Gap
Given an unsorted array, find the maximum difference between the successive elements in its sorted form.
Return 0 if the array contains less than 2 elements.
Example 1:
Input: [3,6,9...
原创
2019-11-18 05:40:42 ·
96 阅读 ·
0 评论