comefrom: <qiyuangong>962_Maximum_Width_Ramp_1.java
code: public int maxWidthRamp(int[] A) {
          int N = A.length;
          Integer[] B = new Integer[N];
          for (int i = 0; i < N; ++i)
              B[i] = i;
          Arrays.sort(B, (i, j) -> ((Integer) A[i]).compareTo(A[j]));
  
          int ans = 0;
          int m = N;
          for (int i: B) {
              ans = Math.max(ans, i - m);
              m = Math.min(m, i);
          }
          return ans;
      }
masked: public int sample_funcname ( int [ ] var_0 ) {
    int var_1 = var_0 . length ;
    Integer [ ] var_2 = new Integer [ var_1 ] ;
    for ( int var_3 = 0 ;
    var_3 < var_1 ;
    ++ var_3 ) var_2 [ var_3 ] = var_3 ;
    Arrays . sort ( var_2 , ( var_3 , var_4 ) -> ( ( Integer ) var_0 [ var_3 ] ) . compareTo ( var_0 [ var_4 ] ) ) ;
    int var_5 = 0 ;
    int var_6 = var_1 ;
    for ( int var_3 : var_2 ) {
      var_5 = Math . max ( var_5 , var_3 - var_6 ) ;
      var_6 = Math . min ( var_6 , var_3 ) ;
    }
    return var_5 ;
  }
  