comefrom: <qiyuangong>962_Maximum_Width_Ramp_1.py
code: def maxWidthRamp( A):
      if not A or len(A) == 0:
          return 0
      for ans in range(len(A) - 1, 0, -1):
          for i in range(len(A)):
              if i + ans > len(A) - 1:
                  break
              if (A[i + ans] >= A[i]):
                  return ans
      return 0
masked: def sample_funcname ( var_0 ) :
      if not var_0 or len ( var_0 ) == 0 :
          return 0
      for var_5 in range ( len ( var_0 ) - 1 , 0 , - 1 ) :
          for var_6 in range ( len ( var_0 ) ) :
              if var_6 + var_5 > len ( var_0 ) - 1 :
                  break
              if ( var_0 [ var_6 + var_5 ] >= var_0 [ var_6 ] ) :
                  return var_5
      return 0
  