# MBPP 145 Write a python function to find the maximum difference between any two elements in a given array.