public int[] invertIndices(int[] indices) {
      int[] result = new int[indices.length];
      for (int i = 0; i < indices.length; i++) {
        result[rowInverse[i]] = colInverse[indices[i]];
      }
      return result;
    }
Given an array where each element {@code indices[i]} represents the randomized column index
corresponding to randomized row index {@code i}, create a new array with the corresponding
inverted indices.
@param indices an array of transformed indices to be inverted
@return an array of inverted indices
hbase-server/src/main/java/org/apache/hadoop/hbase/master/RegionPlacementMaintainer.java