https://oj.leetcode.com/problems/maximum-gap/