```python
def max_Abs_Diff(arr,n):
    """
    Finds the maximum difference between any two elements in a given array.

    Args:
        arr: A list of numbers.
        n: The number of elements in the array.

    Returns:
        The maximum absolute difference between any two elements.
    """
    if n < 2:
        return 0
    
    min_val = min(arr)
    max_val = max(arr)
    
    return max_val - min_val
```