from typing import List
from functools import reduce


def flatten(arr: List[List]) -> List:
    """
    Flattens a list of a list
    :param arr: List to flatten
    :return: Flattened list
    """
    return reduce(lambda x, y: x + y, arr)