For a long time it puzzled me how something so expensive, so leading edge, could be so useless. And then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match. Bill Bryson

Hash map Trie

Language Java | Level Intermediate | Category Data structure | September 9, 2015 8:50 am


Data structure Description

A hash array based trie is an implementation of an associative array that combines the characteristics of a hash table and an array mapped trie. Write program to implement the hash map based trie


Output

   					 

Add strings to the hash map based trie
Strings in Array: [Helloo, Hell, Help]
Check 'Hell' in Trie: true
Check 'Hello' in Trie: false
Check 'Helps' in Trie: false

				    

Comments


No comments available!

Please login to add comments.