<doocs>0349.Intersection of Two Arrays_1.py
def intersection( nums1: List[int], nums2: List[int]) -> List[int]:
    s = set(nums1)
    res = set()
    for num in nums2:
        if num in s:
            res.add(num)
    return list(res)
def sample_funcname ( var_0 : List [ int ] , var_3 : List [ int ] ) -> List [ int ] :
    var_5 = set ( var_0 )
    var_6 = set ( )
    for var_7 in var_3 :
        if var_7 in var_5 :
            var_6.add ( var_7 )
    return list ( var_6 )
