
    Given an array of hourly emergency room wait times recorded throughout the day, write a function to determine the largest variation in wait times between any two hours to identify the most significant fluctuation in patient volume. This analysis will help hospital administrators understand the maximum disparity between peak and low-volume periods for optimal staff scheduling.
    

    
def max_Abs_Diff(arr):
    """
    Given an array of hourly emergency room wait times recorded throughout the day, write a function to determine the largest variation in wait times between any two hours to identify the most significant fluctuation in patient volume. This analysis will help hospital administrators understand the maximum disparity between peak and low-volume periods for optimal staff scheduling.
    

    """
def max_Abs_Diff(arr):
    """
    Given an array of hourly emergency room wait times recorded throughout the day, write a function to determine the largest variation in wait times between any two hours to identify the most significant fluctuation in patient volume. This analysis will help hospital administrators understand the maximum disparity between peak and low-volume periods for optimal staff scheduling.
    

    """
    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