<awangdev>686. Repeated String Match_1.java
private boolean validate(String A, String B) {

        boolean[] checkA = new boolean[256];
        boolean[] checkB = new boolean[256];
        
        for (char c : A.toCharArray()) {
            checkA[c] = true;
        }
        for (char c : B.toCharArray()) {
            checkB[c] = true;
        }
        for (int i = 0; i < 256; i++) {
            if (checkB[i] && !checkA[i]) {
                return false;
            }
        }
        return true;
    }
private boolean var_0 ( String var_2 , String var_3 ) {
  boolean [ ] var_6 = new boolean [ 256 ] ;
  boolean [ ] var_7 = new boolean [ 256 ] ;
  for ( char var_9 : var_2 . toCharArray ( ) ) {
    var_6 [ var_9 ] = true ;
  }
  for ( char var_9 : var_3 . toCharArray ( ) ) {
    var_7 [ var_9 ] = true ;
  }
  for ( int var_11 = 0 ;
  var_11 < 256 ;
  var_11 ++ ) {
    if ( var_7 [ var_11 ] && ! var_6 [ var_11 ] ) {
      return false ;
    }
  }
  return true ;
}
