<gouthampradhan>hashing_GroupsOfSpecialEquivalentStrings_1.java
public int numSpecialEquivGroups(String[] A) {
    Set<String> set = new HashSet<>();
    for (String s : A) {
      StringBuilder temp1 = new StringBuilder();
      for (int i = 0, l = s.length(); i < l; i += 2) {
        char c = s.charAt(i);
        temp1.append(c);
      }
      StringBuilder temp2 = new StringBuilder();
      if (s.length() > 1) {
        for (int i = 1, l = s.length(); i < l; i += 2) {
          char c = s.charAt(i);
          temp2.append(c);
        }
      }
      char[] temp1Chars = temp1.toString().toCharArray();
      char[] temp2Chars = temp2.toString().toCharArray();
      Arrays.sort(temp1Chars);
      Arrays.sort(temp2Chars);
      set.add(String.valueOf(temp1Chars) + "+" + String.valueOf(temp2Chars));
    }
    return set.size();
  }
public int sample_funcname ( String [ ] var_1 ) {
  Set < String > var_4 = new HashSet < > ( ) ;
  for ( String var_5 : var_1 ) {
    StringBuilder var_7 = new StringBuilder ( ) ;
    for ( int var_9 = 0 , var_11 = var_5 . length ( ) ;
    var_9 < var_11 ;
    var_9 += 2 ) {
      char var_14 = var_5 . charAt ( var_9 ) ;
      var_7 . append ( var_14 ) ;
    }
    StringBuilder var_16 = new StringBuilder ( ) ;
    if ( var_5 . length ( ) > 1 ) {
      for ( int var_9 = 1 , var_11 = var_5 . length ( ) ;
      var_9 < var_11 ;
      var_9 += 2 ) {
        char var_14 = var_5 . charAt ( var_9 ) ;
        var_16 . append ( var_14 ) ;
      }
    }
    char [ ] var_20 = var_7 . toString ( ) . toCharArray ( ) ;
    char [ ] var_21 = var_16 . toString ( ) . toCharArray ( ) ;
    Arrays . sort ( var_20 ) ;
    Arrays . sort ( var_21 ) ;
    var_4 . add ( String . valueOf ( var_20 ) + "+" + String . valueOf ( var_21 ) ) ;
  }
  return var_4 . size ( ) ;
}
