comefrom: <awangdev>[HackerRank]. Change to Anagram_1.java
code: public int validate(String str) {
  
          if (str.length() % 2 == 1) {
              return -1;
          } 
          String sA = str.substring(0, str.length()/2);
          String sB = str.substring(str.length()/2);
          
          int[] arr = new int[26];
          for (int i = 0; i < sA.length(); i++) {
              char cA = sA.charAt(i);
              char cB = sB.charAt(i);
              if (cA < 'a' || cA > 'z' || cB < 'a' || cB > 'z') {
                  return -1;
              } 
              arr[cA - 'a']++;
              arr[cB - 'a']--;
          }
          
          int count = 0;
          for (int num : arr) {
              count += Math.abs(num);
          }
          return count/2;
      }
masked: public int sample_funcname ( String var_0 ) {
    if ( var_0 . length ( ) % 2 == 1 ) {
      return - 1 ;
    }
    String var_1 = var_0 . substring ( 0 , var_0 . length ( ) / 2 ) ;
    String var_2 = var_0 . substring ( var_0 . length ( ) / 2 ) ;
    int [ ] var_3 = new int [ 26 ] ;
    for ( int var_4 = 0 ;
    var_4 < var_1 . length ( ) ;
    var_4 ++ ) {
      char var_5 = var_1 . charAt ( var_4 ) ;
      char var_6 = var_2 . charAt ( var_4 ) ;
      if ( var_5 < 'a' || var_5 > 'z' || var_6 < 'a' || var_6 > 'z' ) {
        return - 1 ;
      }
      var_3 [ var_5 - 'a' ] ++ ;
      var_3 [ var_6 - 'a' ] -- ;
    }
    int var_7 = 0 ;
    for ( int var_8 : var_3 ) {
      var_7 += Math . abs ( var_8 ) ;
    }
    return var_7 / 2 ;
  }
  