trie
Need dictionary database
I am planning to work in TRIE data structure for which I need a dictionary database or a text 开发者_C百科or word file containing the entire list of english words. It doesnt matter if the size is huge[详细]
2022-12-25 03:53 分类:问答Trie vs. suffix tree vs. suffix array
Which structure provides the best performance results; trie (prefix tree), suffix tree or suffix array? Are there other similar structures? What are good Java implementations of these structures?[详细]
2022-12-23 10:19 分类:问答Confusion in finding the order of the data structure
Today I attended a written test conducted by a company. The overall test was focussed on data structures. I got a problem which I thought I solved. But I had a tough time in calculating the Big O func[详细]
2022-12-21 05:13 分类:问答Trie implementation
I am attempting to implement a very simple Trie in Java that supports 3 operations.I\'d like it to have an insert method, a has method (ie is a certain word in the trie), and a toString method to retu[详细]
2022-12-19 19:25 分类:问答adding words to a Trie structure in C
Hi I am trying to create a trie structure for an english to spanish word dictionary. Here\'s what I have so far:[详细]
2022-12-17 22:30 分类:问答Generate directory tree from large flat directory list
Let\'s say I have one directory in my filesystem, which has a number of subdirectories and files.The number of subdirectories and files in this directory runs to many tens of thousands.You\'ll be fami[详细]
2022-12-15 00:53 分类:问答How to do fast prefix string matching in Scala
I\'m using some Java code to do fast prefix lookups, using java.util.TreeSet, could I be using scala\'s TreeSet instead? Or a different solution?[详细]
2022-12-13 10:49 分类:问答Optimizing word count
(This is rather hypothetical in nature as of right now, so I don\'t have too many details to offer.) I have a flat file of random (English) words, one on each line.I need to write an efficient progra[详细]
2022-12-10 05:34 分类:问答File backed Trie (or Prefix Tree) implementation
I have to store lot of strings in c++ map to keep unique strings and when ever duplicate string occurs I just need to increment the counter (pair.second). I\'ve used c++ map and it well fits to this s[详细]
2022-12-10 04:55 分类:问答Which data structure to add/look up/keep count of strings?
I\'m trying to figure out what data structure to quickly support the following operations: Add a string (if it\'s not there, add it, if it is there, increment a counter for the word)[详细]
2022-12-09 07:39 分类:问答