<awangdev>438. Find All Anagrams in a String_3.java
private boolean isAnagram(String a, String b) {

        int[] arr = new int[26];
        for (int i = 0; i < a.length(); i++) {
            arr[a.charAt(i) - 'a']++;
            arr[b.charAt(i) - 'a']--;
        }
        for (int i = 0; i < 26; i++) {
            if (arr[i] != 0) {
                return false;
            }
        }
        return true;
    }
private boolean var_0 ( String var_2 , String var_3 ) {
  int [ ] var_5 = new int [ 26 ] ;
  for ( int var_7 = 0 ;
  var_7 < var_2 . length ( ) ;
  var_7 ++ ) {
    var_5 [ var_2 . charAt ( var_7 ) - 'a' ] ++ ;
    var_5 [ var_3 . charAt ( var_7 ) - 'a' ] -- ;
  }
  for ( int var_7 = 0 ;
  var_7 < 26 ;
  var_7 ++ ) {
    if ( var_5 [ var_7 ] != 0 ) {
      return false ;
    }
  }
  return true ;
}
