Closed aravindsrivats closed 9 years ago
Input Format = String of this type "abcde*"
Will the string be already sorted?
Assume it won't be sorted.
WE can sort it ourserlves
Dont chat here. Its an issue tracker. And Mohanish, what do you mean by input? Is it the rack?
void function(input); this is input..
What task each of you are working on?
How are you handling blank input? Are you going to substitute one character every time and check or assign random character?
Okay I'll tell you.. Lets say the word is "cnt".. then we have _c_nt ( '_' indicates where the letters can be put) so that we can have 'cant' or 'bcnt' etc..
On 24 July 2015 at 12:46, Aravind Srivatsan notifications@github.com wrote:
How are you handling blank input? Are you going to substitute one character every time and check or assign random character?
— Reply to this email directly or view it on GitHub https://github.com/asrayousuf/ScrabbleWordRecommender/issues/3#issuecomment-124382938 .
Then we realize that only [a-c] can go before c; only [d-n] can go before n and after c; and only [o-t] can go before t and after n; and [u-z] goes after t..
On 24 July 2015 at 13:41, Mohanish Golatkar mgmayhem76@gmail.com wrote:
Okay I'll tell you.. Lets say the word is "cnt".. then we have _c_nt ( '_' indicates where the letters can be put) so that we can have 'cant' or 'bcnt' etc..
On 24 July 2015 at 12:46, Aravind Srivatsan notifications@github.com wrote:
How are you handling blank input? Are you going to substitute one character every time and check or assign random character?
— Reply to this email directly or view it on GitHub https://github.com/asrayousuf/ScrabbleWordRecommender/issues/3#issuecomment-124382938 .
So run a for-loop from a to z and put the characters in proper places. If more than one spaces are there do this recursively on the newly formed word..
We are not generating all the words, instead we are generating keys for the hashmap. From there you can retrieve the actual words.
On 24 July 2015 at 13:44, Mohanish Golatkar mgmayhem76@gmail.com wrote:
So run a for-loop from a to z and put the characters in proper places. If more than one spaces are there do this recursively on the newly formed word..
I need to know who is doing which part of the task
We were planning to split the work in the following fashion: Mohanish will write the fill_blanks function which, given a string and the number of blank spaces will fill the blanks, Neel will write the score calculating function and I will write the interface function that would call the other functions and return the results. The main problem here is that with the new data structure, all the ideas we had have gone out the window.
The scoring function happens in the pre-computation part. You have to compute the score to be subtracted from the score due to the blank tiles.
Raise a new issue for scoring and lets discuss on it.
Let's close these work allocation issues.
Harish, Neel and Mohanish discuss and conclude to which task each of you are going to work on.