Trie data structures - Java [closed]
Asked Answered
T

3

33

Is there any library or documentation/link which gives more information of implementing Trie data structure in java?

Any help would be great!

Thanks.

Thyme answered 27/9, 2010 at 18:44 Comment(0)
E
37

You could read up on Java Trie or look at trie.

Enscroll answered 27/9, 2010 at 18:50 Comment(0)
H
7

There's a java implementation in Robert Sedgewick's book on algorithms. It's very basic, i.e., no compression and a very simple interface, but I found it instructive to understand how tries work.

I also recently found a library that includes a memory efficient concurrent implementation of tries which looks very promising. It even includes a LCS solver using tries.

There is also the Lucene implementation that's used in production applications.

Headway answered 8/11, 2013 at 14:42 Comment(0)
O
4

Another implementation, I believe from Limewire developers originally: https://github.com/rkapsi/patricia-trie

Outdate answered 17/8, 2013 at 21:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.