题目: 无序数组(list),array = [45,3,8,1,2,19,22,35,23],找到差值最大的两个点A 和 B(B-A>0),且B的索引大于A的索引;
array = [45,3,8,1,2,19,22,35,23]
new = sorted(array,reverse=False)
A = new[0]
while True:
B = new[-1]
if array.index(B) > array.index(A):
print A,B
break
else:
new.remove(B)