comefrom: <doocs>2274.Maximum Consecutive Floors Without Special Floors_1.py
code: def maxConsecutive( bottom: int, top: int, special: List[int]) -> int:
      special.sort()
      ans = max(special[0] - bottom, top - special[-1])
      for i in range(1, len(special)):
          ans = max(ans, special[i] - special[i - 1] - 1)
      return ans
masked: def sample_funcname ( var_0 : int , var_2 : int , var_3 : List [ int ] ) -> int :
      var_3.sort ( )
      var_9 = max ( var_3 [ 0 ] - var_0 , var_2 - var_3 [ - 1 ] )
      for var_12 in range ( 1 , len ( var_3 ) ) :
          var_9 = max ( var_9 , var_3 [ var_12 ] - var_3 [ var_12 - 1 ] - 1 )
      return var_9
  