Don’t worry if it doesn’t work right. If everything did, you’d be out of a job. Mosher’s Law

Dictionary lookup

Language Java | Level Intermediate | Category Algorithms | August 2, 2015 7:09 pm


Algorithm Problem Description

Dictionary is an abstract data type composed of a collection of keys and values. The Dictionary does not take duplicate keys and must write to handle collisions that occur when two keys are mapped to same index.

Write a program to look up the item from the hash tables. Value can be duplicated and keys should not duplicate.

Output

          	        
          	        

Items in the dictionary: [Helo,Hello,Hllo,Hellosiva,HelloWorld,]
Search 'Hello' string from the dictionary: Hello (1 words)

          	        
          	        				    


Comments



Please login to add comments.