
    Given a student's test scores across different subjects, write a function to determine the largest performance gap between any two subjects in their academic record. This insight will help identify where targeted academic support is most needed and guide the development of personalized learning strategies.
    

    
def max_Abs_Diff(arr):
    """
    Given a student's test scores across different subjects, write a function to determine the largest performance gap between any two subjects in their academic record. This insight will help identify where targeted academic support is most needed and guide the development of personalized learning strategies.
    

    """
def max_Abs_Diff(arr):
    """
    Given a student's test scores across different subjects, write a function to determine the largest performance gap between any two subjects in their academic record. This insight will help identify where targeted academic support is most needed and guide the development of personalized learning strategies.
    

    """
    n = len(arr)
    minEle = arr[0]
    maxEle = arr[0]
    for i in range(1, n):
        minEle = min(minEle, arr[i])
        maxEle = max(maxEle, arr[i])
    return maxEle - minEle