def flatten_dictlist(dictlist):
    """
    Turns a list of dictionaries into a single dictionary.
    
    :param dictlist: List of dictionaries.
    :type dictlist: list
    :return: Flattened dictionary.
    :rtype: dict

    :Example:
    
    >>> dictlist = [{"a": 1}, {"b": 2, "a": 3}, {"c": 4}]
    >>> flatten_dictlist(dictlist)
    {"a": 3, "b": 2, "c": 4}
    """
    new_dict = {}

    for dict_ in dictlist:
        new_dict.update(dict_)

    return new_dict