-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data Structures. #1
Comments
There will a anagram list in a hash map with the key=sorted_word and value=space separated list of words that are anagrams Group 1 results will be in the format of a hash map called sorted_list with key=suggested_word and value=scoreOfTheWord |
Why not append the anagram score to the value of the hash map? Like <"art", On 24 July 2015 at 12:21, asrayousuf notifications@github.com wrote:
|
final output is map with score and word? |
That we can do if we are pre computing word scores.But we decided we will not precompute, right? Yes, Jayasruthi |
Fine.. Lets not precompute it so we have Map<String SortedSeq, String On 24 July 2015 at 12:29, asrayousuf notifications@github.com wrote:
|
Yup |
Why are we appending the anagrams together? We can have an arraylist. I think it will be easier to just have an iterator rather than doing lookup for space. |
Eveery one update the read me file about what your work is ! |
Donot update the readme. I'll update the readme for each. |
What are the data structures that we are going to use?
The sowpods.txt will be stored in the following map :
map <sorted letters word , an array list of all the anagrams>
The text was updated successfully, but these errors were encountered: