結果 : find maximum difference between elements in array