結果 : maximum difference problem with order leetcode