My CS fundamental is slipping away....
How do you store a large number of strings into hashmap/hashtable, so that you can have a lookup time of that string of O(1)?...
Isn't there a java library for hashmap/hashtable?... It seems to store a value to hashmap, you have to store 'key' & 'value'. I assume 'value' is the string I'm trying to store, so what do I have to do sofr the 'key'?