Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Lex.isWord(String word) および Lex.isPrefix(String prefix) メソッドを備えた Lexicon ヘルパー クラスがありますが、入力単語のアナグラムを検索するためにこのメソッドを完了する方法がわかりません。
public static ArrayList<String> findAgrams(String sentence) {
何か案は?ヘルパーメソッドが必要だと思いますが、よくわかりません。
LearnJava-Recursionで解決策を見つけることができます。