164. Maximum Gap 164. 最大间隔 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,1] Ou…