Trie data structure...

I'm learning Trie and I want a quick start. Any good link?

I have a choice to implement a Trie data structure using either reference-base ADT or index-base ADT. Which one is more efficient and which one is easier to implement?

I'm suppose to insert new entry into my trie. However, an optional requirement states that I should also be able to delete entry from my trie. How difficult would that be? I know that deletion is not an efficient task for trie since it's not suitable for data that is manipulated often. But is the implmentation hard?

By the way, I have to write everything on my own, so I wouldn't be able to borrow any data structure from the util package.

[704 byte] By [dumbucataclysmsh] at [2007-9-30 10:49:57]
# 1
The Dragon Book (Aho, Sethi and Ullman) mentions an efficient implementation of a DFA (a trie is a DFA).A nice variation on that theme can be found [url= http://linux.thai.net/thep/datrie/datrie.html]here[/url].kind regards,Jos
JosAH at 2007-7-3 21:19:42 > top of Java-index,Other Topics,Algorithms...
# 2
inserting and removing are both efficient operations for a trie. If you are inserting a word of length m, then both operations take O(m) time. It does NOT depend on how many words are in the trie.
rkippen at 2007-7-3 21:19:42 > top of Java-index,Other Topics,Algorithms...