comefrom: <awangdev>140. Word Break II_3.java
code: public boolean[][] isWord(List<String> wordDict, String s) {
          int n = s.length();
          boolean[][] isWord = new boolean[n][n];
          
          for (int i = 0; i < n; i++) {
              for (int j = i; j < n; j++) {
                  isWord[i][j] = wordDict.contains(s.substring(i, j + 1));
              }
          }
          return isWord;
      }
masked: public boolean [ ] [ ] var_0 ( List < String > var_3 , String var_4 ) {
    int var_6 = var_4 . length ( ) ;
    boolean [ ] [ ] var_8 = new boolean [ var_6 ] [ var_6 ] ;
    for ( int var_10 = 0 ;
    var_10 < var_6 ;
    var_10 ++ ) {
      for ( int var_11 = var_10 ;
      var_11 < var_6 ;
      var_11 ++ ) {
        var_8 [ var_10 ] [ var_11 ] = var_3 . contains ( var_4 . substring ( var_10 , var_11 + 1 ) ) ;
      }
    }
    return var_8 ;
  }
  