Closed aravindsrivats closed 9 years ago
ArrayList<String> findPossibleWords(String rack, int numOfBlanks) {
it is returning arraylist
modify and pass us arrayList
We'll have to re-form your result back into the HashMap. That is a problem.
but u are passing arraylist in the first list check the code
Have changed the return type to HashMap<String, String>.
Our findPossibleWords will return a HashMap<String, String> String 1 is the Key = sorted word String 2 is value = "score word1 word2 word3 . . ."
But you have implemented a List. How are we change that?