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_5 = [ 0 ] * 2055
      for var_6 , var_7 in var_0 :
          var_5 [ var_6 ] += 1
          var_5 [ var_7 ] -= 1
      var_11 = var_9 = var_10 = 0
      for var_13 , var_14 in enumerate ( var_5 ) :
          var_10 += var_14
          if var_11 < var_10 :
              var_11 = var_10
              var_9 = var_13
      return var_9
  