<doocs>2248.Intersection of Multiple Arrays_1.py
def intersection( nums: List[List[int]]) -> List[int]:
    cnt = [0] * 1001
    for num in nums:
        for v in num:
            cnt[v] += 1
    n = len(nums)
    return [i for i, v in enumerate(cnt) if v == n]
def sample_funcname ( var_0 : List [ List [ int ] ] ) -> List [ int ] :
    var_5 = [ 0 ] * 1001
    for var_6 in var_0 :
        for var_7 in var_6 :
            var_5 [ var_7 ] += 1
    var_10 = len ( var_0 )
    return [ var_11 for var_11 , var_7 in enumerate ( var_5 ) if var_7 == var_10 ]
