@umar "u'll have to look back and see if the word already exists in the list." if i am correct we need not to look up back , because when u will insert words in dictionary (ordered or trie) , our algo will make sure that if word already exist if yes increment corresponding count else insert node with zero count .its all pr4eprocessing step .isn't it ? our function is GetNextWord() only ?
Correct me if i interpreted it wrong ? *Regards Shashank Mani "Computer Science Is Awesome So Why I Write Code" Computer Science Birla institute of Technology Mesra * -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/29F0D6mdv-cJ. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.