def find_duplicates(l: list) ->[]:
    """
    Finds duplicate entries in the given list
    :param l: the list to check
    :return: map of (value -> list of indexes)
    """
    if not len(l) != len(set(l)):
        return []
    tmp = {}
    for i, v in enumerate(l):
        if v in tmp.keys():
            tmp[v].append(i)
        else:
            tmp[v] = [i]
    result = {}
    for k, v in tmp.items():
        if len(v) > 1:
            result[k] = v
    return result
