comefrom: <awangdev>Excel Sheet Column Number_2.java
code: public int titleToNumber(String s) {
          if (s == null || s.length() == 0) {
              return 0;
          }
          int num = 0;
          for (int i = s.length() - 1; i >= 0; i--) {
              int digit = s.charAt(i) - 'A' + 1;
              num += digit * Math.pow(26, s.length() - i - 1);
          }
          return num;
      }
masked: public int sample_funcname ( String var_0 ) {
    if ( var_0 == null || var_0 . length ( ) == 0 ) {
      return 0 ;
    }
    int var_1 = 0 ;
    for ( int var_2 = var_0 . length ( ) - 1 ;
    var_2 >= 0 ;
    var_2 -- ) {
      int var_3 = var_0 . charAt ( var_2 ) - 'A' + 1 ;
      var_1 += var_3 * Math . pow ( 26 , var_0 . length ( ) - var_2 - 1 ) ;
    }
    return var_1 ;
  }
  