def intersection(collection_a, collection_b):
    """
    The intersection between two collections considered
    as sets (duplicated items will be removed).
    """
    set_a = set(collection_a)
    set_b = set(collection_b)

    return set_a.intersection(set_b)