User c3aa1abb47
27-12-2005 08:50:18
Hi,
I have a sorted map with both the keys and the values as
strings...say emp id as the key and employee name as value. Now I enter a search key say "Smith" and I need to find out all the values in the map which contains the word "Smith".
I can use Linear Search but when the size of the map increases the performance decreases rapidly... is there any other way to do it.......Please let me know ASAP.......
I have a sorted map with both the keys and the values as
strings...say emp id as the key and employee name as value. Now I enter a search key say "Smith" and I need to find out all the values in the map which contains the word "Smith".
I can use Linear Search but when the size of the map increases the performance decreases rapidly... is there any other way to do it.......Please let me know ASAP.......