結果 : maximum difference between two elements in an array practice