comefrom: <doocs>1854.Maximum Population Year_1.py
code: def maximumPopulation( logs: List[List[int]]) -> int:
      delta = [0] * 2055
      for birth, death in logs:
          delta[birth] += 1
          delta[death] -= 1
      
      mx = res = cur = 0
      for i, v in enumerate(delta):
          cur += v
          if mx < cur:
              mx = cur
              res = i
      return res
masked: def sample_funcname ( var_0 : List [ List [ int ] ] ) -> int :
      var_1 = [ 0 ] * 2055
      for var_2 , var_3 in var_0 :
          var_1 [ var_2 ] += 1
          var_1 [ var_3 ] -= 1
      var_6 = var_4 = var_5 = 0
      for var_7 , var_8 in enumerate ( var_1 ) :
          var_5 += var_8
          if var_6 < var_5 :
              var_6 = var_5
              var_4 = var_7
      return var_4
  