Max difference in an unordered array.