comefrom: <doocs>1893.Check if All the Integers in a Range Are Covered_1.py
code: def isCovered( ranges: List[List[int]], left: int, right: int) -> bool:
      diff = [0] * 52
      for l, r in ranges:
          diff[l] += 1
          diff[r + 1] -= 1
      cur = 0
      for i, df in enumerate(diff):
          cur += df
          if left <= i <= right and cur == 0:
              return False
      return True
masked: def sample_funcname ( var_0 : List [ List [ int ] ] , var_3 : int , var_4 : int ) -> bool :
      var_8 = [ 0 ] * 52
      for var_9 , var_10 in var_0 :
          var_8 [ var_9 ] += 1
          var_8 [ var_10 + 1 ] -= 1
      var_12 = 0
      for var_14 , var_15 in enumerate ( var_8 ) :
          var_12 += var_15
          if var_3 <= var_14 <= var_4 and var_12 == 0 :
              return False
      return True
  