comefrom: <qiyuangong>387_First_Unique_Character_in_a_String_1.java
code: public int firstUniqChar(String s) {
          int freq [] = new int[26];
          for(int i = 0; i < s.length(); i ++)
              freq [s.charAt(i) - 'a'] ++;
          for(int i = 0; i < s.length(); i ++)
              if(freq [s.charAt(i) - 'a'] == 1)
                  return i;
          return -1;
      }
masked: public int sample_funcname ( String var_1 ) {
    int var_3 [ ] = new int [ 26 ] ;
    for ( int var_5 = 0 ;
    var_5 < var_1 . length ( ) ;
    var_5 ++ ) var_3 [ var_1 . charAt ( var_5 ) - 'a' ] ++ ;
    for ( int var_5 = 0 ;
    var_5 < var_1 . length ( ) ;
    var_5 ++ ) if ( var_3 [ var_1 . charAt ( var_5 ) - 'a' ] == 1 ) return var_5 ;
    return - 1 ;
  }
  