Trie data structures - Java [closed]

本小妞迷上赌 提交于 2019-12-17 06:08:11

问题


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

Any help would be great!

Thanks.


回答1:


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




回答2:


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.




回答3:


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



来源:https://stackoverflow.com/questions/3806788/trie-data-structures-java

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!