comefrom: <doocs>0169.Majority Element_1.py
code: def majorityElement( nums: List[int]) -> int:
      cnt = m = 0
      for v in nums:
          if cnt == 0:
              m, cnt = v, 1
          else:
              cnt += 1 if m == v else -1
      return m
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_5 = var_3 = 0
      for var_6 in var_0 :
          if var_5 == 0 :
              var_3 , var_5 = var_6 , 1
          else :
              var_5 += 1 if var_3 == var_6 else - 1
      return var_3
  