@all well i appreciate your suggestion but  all of you replied one
word answer actually i forget to say "Best Data Structure & why"

well hashing,trie  will definitely solve this

@ankit i wants to see your trie implementation for this problem , as i
had not done lot stuff with trie (i read it theoretically)

@vaibhav  SortedSet seems to be odd Here isn't it.. Correct me if i am
wrong


Thanks & Regards
Shashank Mani

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to