from typing import List


def arr_rev(arr: List):
    """Reverse given list

    Args:
        arr (List): List that needs to be reversed

    Returns:
        Reversed list
    """
    
    index = 0
    end = len(arr) - 1
    while index < end:
        arr[index], arr[end] = arr[end], arr[index]
        index = index +1
        end = end - 1
    
    return arr